本地电脑在ipv4网络,要访问ipv6网站,可用teredo客户端。
windows系统
#查看状态
netsh interface teredo show state
#配置teredo服务
netsh interface teredo set state enterpriseclient server=default
netsh interface teredo set state server=win10.ipv6.microsoft.com
netsh interface teredo set state natawareclient clientport=60409
#验证
ping -6 ipv6.baidu.com
linux系统
安装miredo
下载:https冒号//www.remlab.net/miredo/
tar -xvf miredo-1.2.6.tar.xz
./configure --prefix=/usr/local/miredo
make
make install
配置
vi /usr/local/etc/miredo/miredo.conf
ServerAddress win10.ipv6.microsoft.com
启动
/usr/local/sbin/miredo --foreground
验证
ping -6 ipv6.baidu.com