X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fferm%2Ffiles%2Fferm.conf;h=5f6e159f67145ba6119fb0bd85989921791869bc;hb=ae1fb81893bf9b0417ed8814923907aea9c751bb;hp=c63c8ea7d936307e636161e77b184c4abf4260b8;hpb=76dcb31392a8db7eb744df0b98cfea2c7b61a48d;p=mirror%2Fdsa-puppet.git diff --git a/modules/ferm/files/ferm.conf b/modules/ferm/files/ferm.conf index c63c8ea7d..5f6e159f6 100644 --- a/modules/ferm/files/ferm.conf +++ b/modules/ferm/files/ferm.conf @@ -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: