Selaa lähdekoodia

Fix ferm config to accept UDP packets with IPv6

Emmanuel Bouthenot 10 vuotta sitten
vanhempi
commit
ebb4bc7588
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 {