Upload files to "/"

This commit is contained in:
bmixed committed 2026-09-26 00:03:35 +00:00
1 parent a2fc1fd1c2
commit 33c66ef06c
5 files changed
+7 -3

No files matched your search

+2 -1
View File
@@ -5,8 +5,9 @@ clear
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 \; }
sudo nft add chain ip nat postrouting { type nat hook postrouting priority 100 \; }
sudo ufw reload ; sudo ufw status
sudo ufw status
sudo nft list ruleset #| sudo tee /etc/nftables/port-forwarding.nft