[Cerowrt-devel] Update: IPv6 tunnel through Hurricane Electric
richb.hanover at gmail.com
Tue Nov 4 17:53:33 EST 2014
Not having looked at the 6in4 tunnel through Hurricane Electric since the spring, I decided to try it again. The script on the wiki (http://www.bufferbloat.net/projects/cerowrt/wiki) didn't work out of the box, and I discovered that OpenWrt (and therefore CeroWrt) needs a tweak to a parameter passed in the script.
When the original IPv6 Tunnel note on the wiki was written, authentication required the long alphanumeric user string. Sometime afterwards (see reference to change set 41358 in http://wiki.openwrt.org/doc/howto/ipv6 ) that parameter changed to the plain USERID (also shown as the "Account Name" on the http://tunnelbroker.net site). So the tunnel.sh script should be changed as shown below. You should, of course, fill in your own parameters.
... from the tunnel.sh script ...
# Create a 6in4 interface to tunnel IPv6. These steps show how to
# set the credentials for a Hurricane Electric tunnel
# First create an account at http://HE.net, then use their
# Example Configurations page to get the specifics, which are
# automatically generated specifically for *your* tunnel
# Copy/paste the information from the Example Configurations
# generated for the OpenWRT Backfire 10.03.1 dropdown
# NOTE: AS OF CeroWrt 3.10.50-1 THE 'username' SHOULD BE YOUR USERID
# (ALSO SHOWN AS YOUR "Account Name:") NOT THE LONG ALPHANUMERIC STRING
# THIS IS DIFFERENT FROM THE OPENWRT CONFIG FROM THE WEB PAGE
echo 'Setting up HE.net tunnel'
# ------- USE THE INFORMATION FROM TUNNELBROKER.NET HERE --------
uci set network.henet=interface
uci set network.henet.proto=6in4
uci set network.henet.peeraddr=xxx.xxx.xxx.xxx
uci set network.henet.ip6addr='2001:470:ABCD::2/64'
uci set network.henet.tunnelid=123456
uci set network.henet.username='your-userid (NOT the long alphanumeric string)'
uci set network.henet.password='your-password'
# ------- END OF TUNNELBROKER.NET INFO --------
# ------- Additional configuration info required for the tunnel --------
# This automatically assigns each LAN interface a /64 from your routed /48
uci set network.henet.ip6prefix='2001:470:ABCD::/48' # Replace 'ABCD' with your routed /48 prefix from HE.net
uci set network.henet.mtu=1424
uci set network.henet.ttl=64
uci commit network
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Cerowrt-devel