1
0

Compare commits

..

2 Commits

2 changed files with 3 additions and 1 deletions

View File

@ -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 = ''

View File

@ -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