|
本帖最后由 ycyppq123 于 2024-3-17 22:40 编辑
用warp给ipv6小鸡添加ipv4出站ip 怎么配置出站ipv6优先 打不开的网站用warp的ipv4呢 不知道下面这样配置对不对
{
"outbounds": [
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv6"
}
},
{
"protocol": "blackhole",
"tag": "blocked"
},
{
"tag": "WARP-interface-v4",
"protocol": "freedom",
"streamSettings": {
"sockopt": {
"interface": "warp",
"tcpFastOpen": true
}
}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"ip": [
"geoip:cn",
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"type": "field",
"network": "udp,tcp",
"outboundTag": "WARP-interface-v4"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
}
} |
|