VPS使用Teredo IPV6隧道 解除google验证码


使用root权限登录,测试机系统是centos7,virmach以及racknerd的vps

添加 centos 的第三方源

EPEL

sudo yum install epel-release

Nux Dextop

sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

安装miredo

yum install miredo

设置开机启动:

systemctl enable miredo-client

开启服务:

systemctl start miredo-client

查看服务运行状态

systemctl status miredo-client


● miredo-client.service - Miredo - Teredo IPv6 Tunneling Client For Unix
   Loaded: loaded (/usr/lib/systemd/system/miredo-client.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-05-31 09:35:06 CST; 22min ago
 Main PID: 10345 (miredo)
   CGroup: /system.slice/miredo-client.service
           ├─10345 /usr/sbin/miredo
           ├─10346 /usr/sbin/miredo
           └─10347 /usr/libexec/miredo/miredo-privproc 9

通过 ifconfig 就能看到 teredo 的网卡信息了

teredo: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1280
        ..................
        RX packets 111000  bytes 128333721 (122.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 78338  bytes 7488934 (7.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

配置host

vim /etc/hosts

添加

2607:f8b0:4005:801::200e  google.com
2607:f8b0:4005:801::200e  www.google.com

这样 Google 搜索总是需要验证人机的问题就解决了



Teredo 服务器地区可自定义

vim /etc/miredo.conf

公共Teredo服务器:

teredo.remlab.net / teredo-debian.remlab.net (德国)
teredo.ngix.ne.kr (韩国)
teredo.managemydedi.com (美国芝加哥)
teredo.trex.fi (芬兰)
win8.ipv6.microsoft.com (隐藏于Windows RT 8.1中的Teredo服务器),Windows 7中不存在。
win10.ipv6.microsoft.com (Windows10中的Teredo服务器)

https://zh.wikipedia.org/wiki/Teredo%E9%9A%A7%E9%81%93

----本教程转自 Hostloc 论坛:请注意倒车,做了一些针对 centos 系统的修改

声明:Blog on RackNerd|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - VPS使用Teredo IPV6隧道 解除google验证码


本博客托管在 RackNerd 的 VPS 上