Update pfw
This commit is contained in:
1 parent
868c5d9e8d
commit
7778c4ebe7
1 file changed
-2
@@ -13,8 +13,6 @@ oipa=$3
|
||||
#sudo iptables-persistent
|
||||
|
||||
sudo nft -f /etc/nftables.conf
|
||||
sudo echo "net.ipv4.ip_forward=1" > /etc/sysctl.d/95-IPv4-forwarding.conf
|
||||
sudo sysctl -p /etc/sysctl.d/95-IPv4-forwarding.conf
|
||||
sudo sysctl -w net.ipv4.ip_forward=1
|
||||
sudo nft add table ip nat
|
||||
sudo nft add chain ip nat prerouting { type nat hook prerouting priority -100 \; }
|
||||
|
||||
Reference in new issue
Block a user