mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-28 19:16:14 +01:00
Accept wireguard on the WAN interface
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
365fd41adc
commit
de00d86dc4
|
@ -142,6 +142,9 @@ in
|
|||
tcp dport 22 accept comment "Accept SSH traffic always"
|
||||
iifname != "lo" tcp dport 5353 drop comment "Drop traffic to dnscrypt-proxy always except for localhost to localhost traffic"
|
||||
|
||||
# Accept WireGuard
|
||||
iifname "${wan}" udp dport 6666 accept;
|
||||
|
||||
iifname { "nomad", "ve-monitor", "ve-klipper" } oifname { "nomad", "ve-monitor", "ve-klipper" } accept comment "Allow Nomad to do whatever it wants in its interface"
|
||||
iifname { "${wlan}", "${lan}", "lo" } accept comment "Allow local network to access the router"
|
||||
iifname { "${wan}", "${doVPN}", "nomad", "docker0", "ve-monitor", "ve-klipper" } jump input_out
|
||||
|
|
Loading…
Reference in a new issue