请遵守法律法规,不要干任何不和谐的事情,本次实例仅为科学学术搜索演示。

解决酸 乳(v2ray,xray)留学网路出现烦人的谷歌机器人验证方法

大致环境就是,server为IPv6和IPv4网络,但是设置为IPv6为优先级

在client端只填写了IPv6地址,并没有使用IPv4跟server端开启链接,是纯IPv6网路留学

这种方法很好解决,使用下面的代码即可解决酸 乳留学网路,谷歌频繁出现机器人验证

原理就是访问谷歌,使用IPv4 网路,为什么呢?

因为server端开启了/64 IPv6地址,使用IPv6地址访问谷歌就会出现机器人验证。

还有一种解决方法就是配置静态的IPv6地址,前提是你的IPv6地址没有进入谷歌黑名单。



{
    "inbounds": [{
        "port": 10086,
        "protocol": "shadowsocks",
        "settings": {
            "method": "2022-blake3-aes-256-gcm",
            "password": "终端执行生成密匙openssl rand -base64 32/16选其一 ",
            "network": "tcp,udp"
        }
    }],
    
"routing": {
    "rules": [
      {
        "type": "field",
        "outboundTag": "IPV4_out",
        "domain": [
          "domain:google.com"
        ]
       
      }
    ]
  },
  "outbounds": [
    {
      "tag": "IPV4_out",
      "protocol": "freedom",
      "settings": { "domainStrategy": "UseIPv4"}
    }
    
  ]
}


还可以指定多域名走IPv4,其余走ipv6,配置如下



{
    "inbounds": [
        {
            "port": 10086,
            "protocol": "shadowsocks",
            "settings": {
                "method": "2022-blake3-aes-256-gcm",
                "network": "tcp,udp",
                "password": "终端执行生成密匙openssl rand -base64 32/16选其一"
            }
        }
    ],
    "outbounds": [
        {
            "protocol": "freedom",
            "settings": {
                "domainStrategy": "UseIPv4"
            },
            "tag": "IPV4_out"
        }
    ],
    "routing": {
        "rules": [
            {
                "domain": [
                    "domain:google.com",
                    "openai.com",
                    "bing.com"
                ],
                "outboundTag": "IPV4_out",
                "type": "field"
            },
            {
                "network": "udp,tcp",
                "outboundTag": "IP6_out",
                "type": "field"
            }
        ]
    }
}

打开谷歌,搜索my ip如果出现了你的server IPv4地址,并且没有出现谷歌机器人验证即可。

建议保存配置文件前先检查一下json语法,这样的工具很多,也可以使用在线的json语法检查

https://cn.piliapp.com/json/validator/

标签: 谷歌, xray, 留学网, v2ray, 烦人

添加新评论