Enable IPv6 Tunnel Broker on Aliyun CentOS 7

In /etc/modprobe.d/disable_ipv6.conf:

alias net-pf-10 off
#alias ipv6 off
options ipv6 disable=0

In /etc/sysctl.conf:


Then run sysctl -p to take effect.

Then in Example Configurations under HE.net Tunnel Details page, in the dropdown menu select Linux-route2, copy all the commands and paste into your server:

modprobe ipv6
ip tunnel add he-ipv6 mode sit remote local ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:18:d18::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr

Test the tunnel:

ping6 irc6.oftc.net