From Segfault
Jump to: navigation, search

HE Tunnelbroker

The HE Tunnelbroker uses native tools to setup the tunnel. Registration is needed though. Once this is done, 5 tunnels can be created and used. The configuration can be done via iproute or net-tools and the exact commands are even given in their web frontend.

Starting the tunnel, an example:

 ip tunnel add he-ipv6 mode sit remote SERVER_6 local CLIENT_4 ttl 255
 ip link set he-ipv6 up
 ip addr add CLIENT_6 dev he-ipv6
 ip route add ::/0 dev he-ipv6

All addresses (SERVER_6, CLIENT_4, CLIENT_6) are given in the Tunnelbroker account menu. With the in place, the tunnel should be usable now:

 $ ip -f inet6 addr show dev he-ipv6
 5: he-ipv6: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1480 
     inet6 2001:470:2d24:21c1::2/64 scope global 
        valid_lft forever preferred_lft forever
     inet6 fe80::c2f6:7b67/128 scope link 
        valid_lft forever preferred_lft forever
 $ ping6 -c1 ipv6.google.com
 PING ipv6.google.com(fra07s07-in-x67.1e100.net) 56 data bytes
 64 bytes from fra07s07-in-x67.1e100.net: icmp_seq=1 ttl=58 time=10.8 ms
 --- ipv6.google.com ping statistics ---
 1 packets transmitted, 1 received, 0% packet loss, time 0ms
 rtt min/avg/max/mdev = 10.832/10.832/10.832/0.000 ms

IOW, you should see the dancing turtle now :-)

Stopping the tunnel:

 ip route del ::/0 dev he-ipv6
 ip addr del CLIENT_6 dev he-ipv6
 ip link set he-ipv6 down
 ip tunnel del he-ipv6


Initially called Freenet6, then Hexago and currently residing under the name gogo6. The tunnel is setup via the Tunnel Setup Protocol (TSP), where a TSP client is needed.

 $ apt-get install gogoc
 $ cat /etc/gogoc/gogoc.conf
 userid=foo                # Register for Freenet6 first!
 host_type=host            # Or 'router' for IPv6 advertisments
 tunnel_mode=v6anyv4       # v6v4, v6udpv4, v6anyv4, v4v6

There are a few more (documented) values in gogoc.conf, omitted in this example. With this in place, start gogoc:

 /etc/init.d/gogoc start


The tunnel is setup via the Anything In Anything (AYIYA) protocol and an AYIYA client program is needed. Also, a SIXXS- or a NIC-handle is required.