From 71aa3bee82d00e71bab6f730d6bb33d47d7431fc Mon Sep 17 00:00:00 2001 From: 0xdeadcode Date: Sun, 27 Oct 2024 20:38:00 +0000 Subject: [PATCH] fix: udp firewall issue --- roles/firewall/templates/etc/iptables-restore.apply | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/firewall/templates/etc/iptables-restore.apply b/roles/firewall/templates/etc/iptables-restore.apply index b98fe0f..9a37521 100644 --- a/roles/firewall/templates/etc/iptables-restore.apply +++ b/roles/firewall/templates/etc/iptables-restore.apply @@ -9,7 +9,7 @@ -A INPUT -p udp -m udp --dport 53 -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -j VEGATCP --A INPUT -p tcp -j VEGAUDP +-A INPUT -p udp -j VEGAUDP {% for port in firewall_open_tcp %} -A VEGATCP -p tcp -m tcp --dport {{ port|int }} -j ACCEPT