欢迎光临
我们一直在努力

IPv6】使用tunnelbroker开启IPv6隧道

开启IPv6功能
本文以Ubuntu系统的腾讯云VPS为测试机。ECS 里面的系统配置,由于腾讯云的网络不支持IPv6,所以他官方镜像里面相关的设置都是被禁用了的,想要使用 IPv6 就要做一些修改。首先修改 /etc/sysctl.conf ,将其中两条禁用IPv6的设置更改为0:

配置IPv6.png
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
运行下面的命令,启用IPv6,使设置生效。:
sysctl -p
配置tunnelbroker
1、登录https://www.tunnelbroker.net/register.php注册,然后在邮件里认证。

2、Create Regular Tunnel

IPv4 Endpoint (Your side):填写你的IPV4。

一般服务器都有ping功能,路由器可能关闭了ICMP,需要开通。否则会报错:

IP is not ICMP pingable. Please make sure ICMP is not blocked. If you are blocking ICMP, please allow 66.220.2.74 through your firewall.

3、隧道服务器,默认选的是 Los Angeles, CA, US

4、点击Create Tunnel

可以看到自己刚才输入的IPV4,及IPV6。

5、点击Example Configurations,选择自己的OS。配置后重启!即可使用。测试如下:

ubuntu@VM-28-187-ubuntu:~$ ping6 ipv6.baidu.com
PING ipv6.baidu.com(2400:da00:2::29) 56 data bytes
From tunnel516546-pt.tunnel.tserv22.tyo1.ipv6.he.net icmp_seq=1 Destination unreachable: Address unreachable
From tunnel516546-pt.tunnel.tserv22.tyo1.ipv6.he.net icmp_seq=2 Destination unreachable: Address unreachable
0人点赞
物联网服务器开发

作者:高巨龙
链接:https://www.jianshu.com/p/c9fa558683c0
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

赞(0) 打赏
未经允许不得转载:罗刹 » IPv6】使用tunnelbroker开启IPv6隧道
分享到: 更多 (0)

评论 抢沙发

评论前必须登录!

 

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏