Update pfw
This commit is contained in:
1 parent
30a6bc17e7
commit
472785ecfd
1 file changed
+1
@@ -16,6 +16,7 @@ oipa=$3
|
||||
|
||||
sudo nft -f /etc/nftables.conf
|
||||
sudo sysctl -w net.ipv4.ip_forward=1
|
||||
sudo sed -i 's/DEFAULT_FORWARD_POLICY="DROP"/DEFAULT_FORWARD_POLICY="ACCEPT"/g' /etc/default/ufw
|
||||
sudo ufw reload
|
||||
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