Compare commits
2 Commits
f05567cbce
...
230cd17208
Author | SHA1 | Date | |
---|---|---|---|
230cd17208 | |||
7f84597b56 |
@ -247,7 +247,6 @@
|
|||||||
clerie.firewall.extraForwardFilterCommands = ''
|
clerie.firewall.extraForwardFilterCommands = ''
|
||||||
ip46tables -A forward-filter -i enp1s0.202 -o ppp-ntvdsl -j ACCEPT
|
ip46tables -A forward-filter -i enp1s0.202 -o ppp-ntvdsl -j ACCEPT
|
||||||
ip46tables -A forward-filter -i enp1s0.202 -j DROP
|
ip46tables -A forward-filter -i enp1s0.202 -j DROP
|
||||||
ip46tables -A forward-filter -i ppp-ntvdsl -o enp1s0.202 -j ACCEPT
|
|
||||||
ip46tables -A forward-filter -o enp1s0.202 -j DROP
|
ip46tables -A forward-filter -o enp1s0.202 -j DROP
|
||||||
'';
|
'';
|
||||||
clerie.firewall.extraForwardMangleCommands = ''
|
clerie.firewall.extraForwardMangleCommands = ''
|
||||||
|
@ -24,6 +24,9 @@ let
|
|||||||
|
|
||||||
ip46tables -N forward-filter
|
ip46tables -N forward-filter
|
||||||
|
|
||||||
|
# Allow packets from existing connections
|
||||||
|
ip46tables -A forward-filter -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
||||||
|
|
||||||
${cfg.extraForwardFilterCommands}
|
${cfg.extraForwardFilterCommands}
|
||||||
|
|
||||||
ip46tables -A FORWARD -j forward-filter
|
ip46tables -A FORWARD -j forward-filter
|
||||||
|
Loading…
Reference in New Issue
Block a user