Browse Source

Fix ferm config to accept UDP packets with IPv6

Emmanuel Bouthenot 10 năm trước cách đây
mục cha
commit
ebb4bc7588
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      roles/common/templates/ferm/ferm.conf.j2

+ 1 - 1
roles/common/templates/ferm/ferm.conf.j2

@@ -76,7 +76,7 @@ domain ip6 table filter {
         proto ipv6-icmp ACCEPT;
 
         # standard ports we allow from the outside
-        proto tcp dport $PORTS ACCEPT;
+        proto (udp tcp) dport $PORTS ACCEPT;
     }
 
     chain OUTPUT {