开启ipv6
1. sudo apt-get install miredo
2. sudo vim /etc/default/ufw,设置:"IPV6=yes"。
3. sudo invoke-rc.d networking restart
4. sudo vim /etc/sysctl.d/10-ipv6-privacy.conf文件,将net.ipv6.conf.default.use_tempaddr,net.ipv6.conf.all.use_tempaddr的值改为0
5. sudo sysctl --system
6. sudo su
curl [https://github.com/lennylxx/ipv6-hosts/raw/master/hosts](https://github.com/lennylxx/ipv6-hosts/raw/master/hosts) -L >> /etc/hosts (多试几次,速度可能很慢)
7.设置IPv6 DNS地址为:2001:470:20::2
网友评论