123GDS 套warp
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"tag": "api-in",
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
}
}
],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
},
"levels": {
"0": {
"handshake": 2,
"connIdle": 120,
"uplinkOnly": 1,
"downlinkOnly": 1
}
}
},
"outbounds": [
{
"tag": "Block",
"protocol": "blackhole"
},
{
"tag": "Direct",
"protocol": "freedom",
"settings": {
}
},
{
"tag": "IPv6-out",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv6"
}
},
{
"tag": "Dns-out",
"protocol": "dns"
},
{
"tag": "socks5-warp",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "127.0.0.1",
"port": 40000
}
]
}
},
{
"tag": "ZeroTrust",
"protocol": "wireguard",
"settings": {
"secretKey": "自己的",
"address": [
"172.16.0.2/32",
"自己的"
],
"peers": [
{
"publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
"allowedIPs": [
"0.0.0.0/0",
"::/0"
],
"endpoint": "engage.cloudflareclient.com:2408"
}
],
"reserved":"自己的"
,
"mtu":1280
}
}
],
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"outboundTag": "api-out",
"inboundTag": [
"api-in"
]
},
{
"type": "field",
"outboundTag": "Block",
"port": "443",
"network": "udp"
},
{
"type": "field",
"outboundTag": "Block",
"ip": [
"geoip:cn",
"geoip:private"
]
},
{
"type": "field",
"outboundTag": "Block",
"domain": [
"geosite:category-ads-all"
]
},
{
"type": "field",
"outboundTag": "Block",
"protocol": [
"bittorrent"
]
},
{
"type": "field",
"outboundTag": "ZeroTrust",
"domain": [
"geosite:openai",
"geosite:cloudflare",
"geosite:twitter",
"geosite:bing",
"geosite:pornhub",
"geosite:hulu",
"geosite:spotify",
"geosite:hbo",
"geosite:disney",
"geosite:netflix",
"ip.sb",
"geosite:geolocation-!cn"
]
},
{
"type": "field",
"outboundTag": "socks5-warp",
"domain": [
"yuan bao"
]
},
{
"type": "field",
"outboundTag": "Direct",
"domain": [
"ip138.com"
]
},
{
"type": "field",
"outboundTag": "Direct",
"network": "udp,tcp"
}
]
},
"stats": {}
}