|
之前已经有不少教程了,但是比较凌乱
经过一番折腾,没想轻松到搞定了
整理一下发出来
原来已经有IPv4了,所以添加IPV6就行
一键安装warp,先选1,然后选优先IPv4
正常安装之后会出现IPv6的地址
- wget -N https://raw.githubusercontent.com/fscarmen/warp/main/menu.sh && bash menu.sh
复制代码
然后修改配置文件里面的outbounds和routing
让谷歌走ipv6,其它站点走ipv4
- "outbounds":[
- {
- "tag":"IP4_out",
- "protocol":"freedom",
- "settings":{
-
- }
- },
- {
- "tag":"IP6_out",
- "protocol":"freedom",
- "settings":{
- "domainStrategy":"UseIPv6"
- }
- }
- ],
- "routing":{
- "rules":[
- {
- "type":"field",
- "outboundTag":"IP6_out",
- "domain":[
- "domain:google.com"
- ]
- },
- {
- "type":"field",
- "outboundTag":"IP4_out",
- "network":"udp,tcp"
- }
- ]
- }
复制代码
重启服务之后就再也看不见烦人验证了
丝般顺滑,舒服
|
|