转自 http://www.lirui.name/post/206.html

有修改,本人測試通过


正文:


我是个离不开google服务的人。花钱买的SSH服务也时不时抽风。于是……

$sudo apt-get install miredo
$ifconfig

在结果中应该能看见一个叫 teredo 的虚拟网卡。

$ ping6 ipv6.google.com

PING ipv6.google.com(2404:6800:8003::93) 56 data bytes
64 bytes from 2404:6800:8003::93: icmp_seq=2 ttl=57 time=910 ms.......................

现在您的浏览器应该可以访问 https://ipv6.google.com 了。

$sudo gedit /etc/hosts

把host列表拷贝进去,hosts列表发布地址:http://docs.google.com/View?id=dfkdmxnt_61d9ck9ffq

如果google docs訪問有問題,可能直接下載附件中的hosts.zip, 追加到/etc/hosts中就可以了.

现在应该可以正常访问: http://www.youtube.com/

修改下防火墙设置:

$sudo gedit /etc/default/ufw

IPV6=no 改成 yes

最后禁用/启用防火墙来使刚刚的改动生效:

$ sudo ufw disable
$ sudo ufw enable

【Over】

Ubuntu开启IPV6,解决Gmail等google服务不稳定问题-LMLPHP hosts.zip  

11-24 17:41