Thanks a lot for summarizing the IPv6 firewall glitches in this forum post! I have the
D-Link DIR-868L (Hardware Version: A1, Firmeware Version: 1.01) and had a really hard time getting the IPv6 Firewall to work.
My ISP supports IPv6 (assigns native IPv6 addresses) and I am now running with the following configuration:
Enable IPv6 Simple Security: Selected
Configure IPv6 Filtering below: Turn IPv6 Filtering ON and ALLOW rules listed
I am using the following two rules (part of the IPv6 address masked out with 'X'):
Name: LanToWan_01
Schedule: Always
Source: LAN
IP Adress range: 2404:XXXX:XXXX:XXXX:: - 2404:XXXX:XXXX:XXXX:7fff:ffff:ffff:ffff
Dest: WAN
IP Adress range: 2000:: - 3fff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
Name: LanToWan_02
Schedule: Always
Source: LAN
IP Adress range: 2404:XXXX:XXXX:XXXX:8000:: - 2404:XXXX:XXXX:XXXX:ffff:ffff:ffff:ffff
Dest: WAN
IP Adress range: 2000:: - 3fff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
As described in the post above selecting
IPv6 Simple Security without enabling IPv6 Filtering completely broke the IPv6 connectivity to the Internet. As suggested above I also had to split up the source address range 2404:XXXX:XXXX:XXXX::/64 and define two rules to get it working which is rediculous.
I have not investigated what difference
IPv6 Simple Security makes but I selected it because threads linked from this post suggest that it may (or may not) add some additional useful rules to the IPv6 firewall for network diagnostic tools such as ping.
I performed IPv6 portscans using
nmapv6.packetsize.net/index.php and
www6.ipv6.chappell-family.co.uk/cgi-bin6/ipscan-js.cgi to verify that the firewall is blocking requests against IPv6 hosts behind the D-Link DIR-868L. Before enabling the firewall (selecting
Enable IPv6 Simple Security and defining the ALLOW rules) some ports on a host behind the router were open. After enabling the firewall no open ports have been detected on any of the hosts behind the router.
I also scanned the public IPv6 address of the D-Link 868L router which revealed that all ports except for 53/tcp are closed. I am not sure why the DNS port is open, but at least the management port is not reachable via IPv6 from the Internet. I was not able to verify whether 53/tcp is open on IPv4 because I couldn't find a public IPv4 port scanner which allows entering an IPv4 address to scan.
It's shocking that the default configuration does not have any IPv6 filtering / firewall enabled and it is rediculous how difficult it is to setup the IPv6 Firewall. I am planning to contact D-Link to inform them of those shortcomings.