iptables-save -> ip6tables-save

This commit is contained in:
kaboom 2021-07-10 18:43:44 +03:00
parent 4994e160e1
commit 7859692a80

View file

@ -8,4 +8,4 @@ iptables-save > /etc/iptables/rules.v4
ip6tables -t nat -A INPUT -p tcp --dport 25565 -j SNAT --to-source 2001:db8::1-2001:db8::6464
ip6tables -t nat -A INPUT -p udp --dport 19132 -j SNAT --to-source 2001:db8::1-2001:db8::6464
ip6tables -A INPUT -p tcp --syn --dport 25565 -m connlimit --connlimit-above 5 --connlimit-mask 32 -j REJECT --reject-with tcp-reset
iptables-save > /etc/iptables/rules.v6
ip6tables-save > /etc/iptables/rules.v6