From 3add02d8c185e5c4160b35bf1fcbb07dada8333f Mon Sep 17 00:00:00 2001 From: chipmunk <65827213+chipmunkmc@users.noreply.github.com> Date: Sun, 13 Oct 2024 20:48:18 -0400 Subject: [PATCH] alpine-ify --- config/iptables | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/iptables b/config/iptables index 3279ec8..6694d53 100644 --- a/config/iptables +++ b/config/iptables @@ -2,10 +2,10 @@ iptables -t nat -A INPUT -p tcp --dport 17891 -j SNAT --to-source 192.168.1.0-192.168.100.100 iptables -t nat -A INPUT -p udp --dport 19132 -j SNAT --to-source 192.168.1.0-192.168.100.100 iptables -A INPUT -p tcp --syn --dport 17891 -m connlimit --connlimit-above 5 --connlimit-mask 32 -j REJECT --reject-with tcp-reset -iptables-save > /etc/iptables/rules.v4 +iptables-save > /etc/iptables/rules-save # IPv6 ip6tables -t nat -A INPUT -p tcp --dport 17891 -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 17891 -m connlimit --connlimit-above 5 --connlimit-mask 64 -j REJECT --reject-with tcp-reset -ip6tables-save > /etc/iptables/rules.v6 +ip6tables-save > /etc/iptables/rules6-save