diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 3a4e304e31..b018bb317b 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2189,6 +2189,15 @@ table persist block quick from to any label "Block snort2c hosts" block quick from any to label "Block snort2c hosts" +EOD; + + if(!isset($config['system']['ipv6allow'])) { + $ipfrules .= "# Block all IPv6\n"; + $ipfrules .= "block in quick inet6 all\n"; + $ipfrules .= "block out quick inet6 all\n"; + } + + $ipfrules .= <<  - IPv6 tunneling + IPv6 + + + Allow IPv6 + + onclick="enable_change(false)" /> + Allow IPv6 traffic +

+ All IPv6 traffic will be blocked unless this box is checked. + -   + IPv6 tunneling onclick="enable_change(false)" /> NAT encapsulated IPv6 packets (IP protocol 41/RFC2893) to: @@ -379,6 +394,12 @@ include("head.inc");  (IP address) + +   + + + +