Configure a 6to4 tunnel from our server to HE's tunnelbroker in Ubuntu
URL : https://tunnelbroker.net/
$ wget wget https://gist.githubusercontent.com/jbhannah/987146/raw/790fb57ec940a82d1b3c5fb984f0b53918f34032/he-ipv6.sh
$ chmod +x he-ipv6.sh
$ move he-ipv6.sh /etc/network/if-up.d/
View and modify the script if necessary. These are the configuration inside the file that you need to adjust
# The primary internet-facing network interface
MY_IF=eth0
# Given under "IPv6 Tunnel Endpoints" on the tunnel details page
SERVER_V4=216.218.221.42 # He tunnel gateway
CLIENT_V6=2001:470:35:dbc::2/64 # Your allocated /64 ipv6
# An address from your Routed /64 or /48 prefix for the local interface
LOCAL_V6=2001:470:35:dbc::1337/64 # Your designated local ipv6 (taken from allocated)
Execute the script manually or restart networking service via systemctl
$ ./heipv6.sh
$ systemctl restart networking