]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ferm/files/ferm.conf
ferm: always allow proto 41
[dsa-puppet.git] / modules / ferm / files / ferm.conf
index c63c8ea7d936307e636161e77b184c4abf4260b8..5f6e159f67145ba6119fb0bd85989921791869bc 100644 (file)
@@ -45,6 +45,11 @@ domain (ip ip6) {
                       mod state state (ESTABLISHED RELATED) ACCEPT;
                       interface lo ACCEPT;
                       proto icmp ACCEPT;
+                      # some of our hosts (e.g. villa and lobos) do ipv6 via tunnels (proto 41)
+                      # this requires we allow proto ipv6 to work in all cases.
+                      # without this, ipv6 connectivity only works once the host itself
+                      # created some ipv6 connectivity to some place.
+                      proto ipv6 ACCEPT;
                       mod state state (INVALID) DROP;
               }
         }
@@ -54,8 +59,8 @@ domain (ip ip6) {
 
 domain (ip ip6) {
         chain INPUT {
-                proto udp dport 137 DROP;
-                proto tcp mod multiport destination-ports (137 445) DROP;
+                proto (tcp udp) mod multiport destination-ports (135 137 138 139 445 1026 1027 1433) DROP;
                 jump log_or_drop;
         }
 }
+# vim:set et: