1.注册Tunnel broker

2.创建通道

点击 Create Regual Tunnel 创建,在IPV4 Endpoint(Your side)填写你的服务器ip,隧道节点选择HK

3.创建 ipv6 隧道和路由

选择 Example Configurations 选项中的 Linux-route2,直接复制设置命令到服务器上运行

4.配置服务器使之支持 ipv6,/etc/sysctl.conf

1
2
3
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0

5.添加 ipv6 的 dns 服务器,/etc/resolv.conf

1
2
3
4
5
options timeout:1 attempts:1 rotate single-request-reopen
nameserver 10.143.22.116
nameserver 10.143.22.118
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844

6.测试ipv6是否可用

1
2
3
4
5
6
7
8
9
10
11
ping6 -c 5 ipv6.google.com
PING ipv6.google.com(hkg12s02-in-x0e.1e100.net (2404:6800:4005:802::200e)) 56 data bytes
64 bytes from hkg12s02-in-x0e.1e100.net (2404:6800:4005:802::200e): icmp_seq=1 ttl=58 time=3.89 ms
64 bytes from hkg12s02-in-x0e.1e100.net (2404:6800:4005:802::200e): icmp_seq=2 ttl=58 time=3.91 ms
64 bytes from hkg12s02-in-x0e.1e100.net (2404:6800:4005:802::200e): icmp_seq=3 ttl=58 time=14.5 ms
64 bytes from hkg12s02-in-x0e.1e100.net (2404:6800:4005:802::200e): icmp_seq=4 ttl=58 time=3.84 ms
64 bytes from hkg12s02-in-x0e.1e100.net (2404:6800:4005:802::200e): icmp_seq=5 ttl=58 time=3.96 ms

--- ipv6.google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 3.849/6.023/14.500/4.239 ms

7.修改 Chrome 的默认搜索引擎