rework firewall setup
This commit is contained in:
parent
be62c1270f
commit
cd48cf495d
30 changed files with 145 additions and 122 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
INTERFACE=$1
|
||||
|
||||
echo "add rule nat postrouting oif $INTERFACE masquerade" > /etc/nftables-rules.d/90-pppd
|
||||
echo "add rule nat postrouting oifname $INTERFACE masquerade" > /etc/nftables-rules.d/90-pppd
|
||||
% for rule in sorted(nftables):
|
||||
echo "add rule ${rule}" >> /etc/nftables-rules.d/90-pppd
|
||||
% endfor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue