vps添加ipv6地址

tunnelbroker.net

Create Regular Tunnel,ping地址,Los Angeles, CA, US 延迟最低
系统选择debian/ubuntu,将内容粘贴到对应位置
systemctl restart networking

alpinelinux添加ipv6

在文件后面添加内容

1
2
3
4
5
6
7
8
9
# /etc/network/interfaces
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
address ****
netmask 64
endpoint ****
local ****
ttl 255
gateway ****

运行命令

1
2
ip tunnel add he-ipv6 mode sit remote server_IPv4_address local client_IPv4_address ttl 255
rc-service networking restart