瀏覽代碼

Fix ferm config to accept UDP packets with IPv6

Emmanuel Bouthenot 10 年之前
父節點
當前提交
ebb4bc7588
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {