modify nodes and bundles for new nftables syntax
This commit is contained in:
parent
ecb67d012b
commit
d569b00960
30 changed files with 172 additions and 126 deletions
|
@ -2,9 +2,9 @@
|
|||
|
||||
INTERFACE=$1
|
||||
|
||||
echo "iptables -t nat -A POSTROUTING -o $INTERFACE -j MASQUERADE" > /etc/iptables-rules.d/90-pppd
|
||||
echo "add rule nat postrouting oif $INTERFACE masquerade" > /etc/nftables-rules.d/90-pppd
|
||||
echo "net.ipv6.conf.$INTERFACE.accept_ra=2" > /etc/sysctl.d/90-pppd.conf
|
||||
|
||||
/usr/local/sbin/iptables-enforce
|
||||
systemctl reload nftables
|
||||
|
||||
rdisc6 $INTERFACE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue