This commit is contained in:
iFargle 2023-12-07 19:08:11 +09:00
parent 252c383b53
commit 637b1a06ce

View file

@ -24,9 +24,6 @@
# https://www.digitalocean.com/community/tutorials/how-to-forward-ports-through-a-linux-gateway-with-iptables # https://www.digitalocean.com/community/tutorials/how-to-forward-ports-through-a-linux-gateway-with-iptables
networking.firewall.extraCommands = '' networking.firewall.extraCommands = ''
iptables -F
iptables -t nat -F
iptables -X
iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
# TCP PORTS ################################################################################################## # TCP PORTS ##################################################################################################