IPv6 setup Hurricane Electric Tunnel Broker
From DD-WRT Wiki
Contents |
About
This will...
Set up HE's tunnel broker service.
Automatically finds your wan ip at boot using whatismyip.com
Automatically updates HE's endpoint on boot
Generates a radvd.conf on boot, and applies it automatically
Generates a executable file that can be used with cron to keep HE's endpoint up-to-date if you have a dynamic IP
My setup for reference.
Optimum Online Cable ISP
WRT610Nv2
v24-sp2 (Aug 12, 2010)
build 14929
You should have an account and tunnel created on the website. This post will not cover that. Install steps are below the script. This script will only work with /64 tunnels/addresses. Don't use it if you're using /48
Install Steps
Installation steps:
- Change the settings in the beginning of the above script to your settings.
- Copy personalized script into Administration > Commands. Save as startup script
- Go into Administration > Management
- enable IPv6 and radvd. Leave the config box empty
- (Optional) enable cron and enter this into "Additional Cron Jobs"
Code:
* 4 * * * root /tmp/report.sh
The above line will auto update the endpoint daily at 4am. Change to personal taste
- Apply settings, wait for reboot
OpenDNS Setting
This setting will append the following two entries into /tmp/resolv.dnsmasq
nameserver 2620:0:ccc::2 nameserver 2620:0:ccd::2
These will give dnsmasq access to the OpenDNS Sandbox DNS servers. These will give access to IPv6 only dns entries. (And will also give you double 10s on test-ipv6.com ;) )
Dnsmasq must be enabled (DHCP Server) or this will not work!
Also dnsmasq needs to be used for DNS.
On my working box, I have...
Under Setup...
Static DNS1 - 208.67.222.222 (OpenDNS ipv4 dns server, not required)
Static DNS2 - 208.67.220.220 (OpenDNS ipv4 dns server, not required)
Use DNSMasq for DHCP - Checked
Use DNSMasq for DNS - Checked
DHCP-Authoritative - Checked
Under Services...
DNSMasq - Enabled
Local DNS - Enabled
No DNS Rebind - Disabled
All clients have only 1 dns entry : 192.168.1.1 (My router's IP Address)
See Also
Test the setup with e.g.:
http://ipv6.google.com
http://aaaa.test-ipv6.com/
Forum link:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=81060
Example of Basic Connection settings syntax
SERVER_IP4_ADDR="0.0.0.0" CLIENT_IPV6_ADDR="0000:000:0000:000::0" ROUTED_64_ADDR="0000:000:0000:000::0"