Difference between revisions of "OpenWRT IPv6: Setup tunnel ke tunnelbroker"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
opkg update
+
opkg update
opkg install 6in4
+
opkg install 6in4
 
+
uci set network.henet=interface
+
uci set network.henet=interface
uci set network.henet.proto=6in4
+
uci set network.henet.proto=6in4
uci set network.henet.peeraddr=216.218.221.42
+
uci set network.henet.peeraddr=216.218.221.42
uci set network.henet.ip6addr='2001:470:35:ab6::2/64'
+
uci set network.henet.ip6addr='2001:470:35:ab6::2/64'
uci set network.henet.tunnelid=208951
+
uci set network.henet.tunnelid=208951
uci set network.henet.username=tb51aa9310a105d0.19920640
+
uci set network.henet.username=tb51aa9310a105d0.19920640
uci set network.henet.password='YOUR_PASSWORD'
+
uci set network.henet.password='YOUR_PASSWORD'  
uci commit network
+
uci commit network
 
+
uci set firewall.@zone[1].network='wan henet'
+
uci set firewall.@zone[1].network='wan henet'
uci commit firewall
+
uci commit firewall
 
+
ifup henet
+
ifup henet
/etc/init.d/firewall restart
+
/etc/init.d/firewall restart
  
  

Revision as of 10:24, 3 June 2013

opkg update
opkg install 6in4

uci set network.henet=interface
uci set network.henet.proto=6in4
uci set network.henet.peeraddr=216.218.221.42
uci set network.henet.ip6addr='2001:470:35:ab6::2/64'
uci set network.henet.tunnelid=208951
uci set network.henet.username=tb51aa9310a105d0.19920640
uci set network.henet.password='YOUR_PASSWORD' 
uci commit network

uci set firewall.@zone[1].network='wan henet'
uci commit firewall

ifup henet
/etc/init.d/firewall restart



Replace YOUR_PASSWORD above with your tunnelbroker.net account password.

NOTE: When behind a firewall appliance that passes protocol 41, use the IPv4 address you get from your appliance's DHCP service instead of the IPv4 endpoint you provided to our broker.

The configurations provided are example configurations and may be different depending on the version of the OS or the tools you are using. If you have any issues getting your tunnel to work please contact us at ipv6@he.net and we will be happy to assist you.