Update pfw

This commit is contained in:
Bray committed 2026-09-25 13:26:01 +00:00
1 parent 30a6bc17e7
commit 472785ecfd
1 file changed
+1
+1
View File
@@ -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 \; }