From e6687e636b6828dcc4325bb0bc1601784495d746 Mon Sep 17 00:00:00 2001 From: Bray <6+bray@noreply.localhost> Date: Fri, 25 Sep 2026 11:50:43 +0000 Subject: [PATCH] Update pfw --- pfw | 1 + 1 file changed, 1 insertion(+) diff --git a/pfw b/pfw index cf196da..ff6356a 100644 --- a/pfw +++ b/pfw @@ -18,4 +18,5 @@ sudo nft add chain ip nat prerouting { type nat hook prerouting priority -100 \; sudo nft add chain ip nat postrouting { type nat hook postrouting priority 100 \; } sudo nft add rule ip nat prerouting tcp dport $iprt dnat to $oipa:$oprt sudo nft add rule ip nat postrouting ip daddr $oipa masquerade +sudo mkdir /etc/nftables/ sudo nft list ruleset | sudo tee /etc/nftables/port-forwarding.nft