My ISP does not provide native IPv6 yet to their ADSL customers but I wanted to set up IPv6 on my local network, and be able to access the Internet using IPv6. To do this I’m using a free tunnel from tunnelbroker.net. The way this works is that your IPv6 packets are wrapped up in IPv4 and sent to tunnelbroker. There they are unwrapped and sent on their way, as IPv6 packets. Once set up this is transparent to you and you just treat it as a normal IPv6 network.
When you sign up for a free tunnel with tunnelbroker you will receive several pieces of information that you will need to set up your tunnel.
Here are my settings –
Server IPv4 Address – 184.108.40.206. This is where your router will sent your ‘wrapped up’ IPv6 packets for onward delivery.
Client IPv6 Address – 2001:470:1d14:154::2/64. This is the IPv6 address of the WAN side of your router
Routed /64 – 2001:470:1d15:154::/64. This is the IPv6 subnet that you will use on your LAN
Once you have these settings you can click on the Example Configurations page in tunnelbroker and, at least for OpenWRT, it tells you what commands to run on your router to install IPv6 and enable it for the tunnelbroker tunnel.
I wanted my router, a TP-LINK TL-WR1043ND, to hand out IPv6 IP addresses to my LAN clients so I also needed to install the following packages –
Detailed instructions for setting up IPv6 on OpenWRT can be found here – http://wiki.openwrt.org/doc/howto/ipv6
To test the tunnel is working you can ping ipv6.google.com from the router
To test the LAN/DHCP is working you can ping ipv6.google.com from your PC
I struggled a little to get the LAN/DHCP side working. Here are my relevant config files –
Once everything is set up and working you should run the IPv6 portscan from the tunnelbroker web site. This will port scan a machine on your local network. This is very important as your machine is now directly connected to the internet, with no NAT happening on the IPv6 connection.
You should run a port scan to ensure that your firewall is blocking inbound connections over IPv6