Register HE IPv6 tunnel
Create Regular Tunnel
Compile and install tb tun
Download tb tun in your favorite way
wget https://github.com/acgrid/tb-tun/archive/master.zip
Enter the tb tun file directory
Start Compiling
gcc tb_ userspace.c -l pthread -o tb_ userspace
yum install gcc
Create tunnel
The device needs to open tun/tap
Set tunel
setsid ./ tb_ userspace he-ipv6 [server ipv4 addr] [client ipv4 addr] sit > /dev/null ifconfig he-ipv6 inet6 add [client ipv6 addr] ifconfig he-ipv6 mtu 1480 ifconfig he-ipv6 up route -A inet6 add ::/0 dev he-ipv6 ip -6 route del default dev venet0
Test connection
ping6 ipv6.google.com
Create a startup task