mirror of https://gitlab.com/rwkgyg/CFwarp.git
99 lines
1.4 KiB
Plaintext
99 lines
1.4 KiB
Plaintext
{
|
|
"api": {
|
|
"services": [
|
|
"HandlerService",
|
|
"LoggerService",
|
|
"StatsService"
|
|
],
|
|
"tag": "api"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 62789,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1"
|
|
},
|
|
"tag": "api",
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": ["http", "tls"]
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"tag":"IP6-out",
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
},
|
|
{
|
|
"tag":"IP6-out",
|
|
"protocol": "freedom",
|
|
"settings": {
|
|
"domainStrategy": "UseIPv4"
|
|
}
|
|
},
|
|
{
|
|
"tag": "socks5-warp",
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"servers": [
|
|
{
|
|
"address": "127.0.0.1",
|
|
"port": 40000
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"policy": {
|
|
"system": {
|
|
"statsInboundDownlink": true,
|
|
"statsInboundUplink": true
|
|
}
|
|
},
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "IP6-out",
|
|
"domain": ["ip.gs"]
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "socks5-warp",
|
|
"domain": ["google.com"]
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "IP4-out",
|
|
"network": "udp,tcp"
|
|
},
|
|
{
|
|
"inboundTag": [
|
|
"api"
|
|
],
|
|
"outboundTag": "api",
|
|
"type": "field"
|
|
},
|
|
{
|
|
"ip": [
|
|
"geoip:private"
|
|
],
|
|
"outboundTag": "blocked",
|
|
"type": "field"
|
|
},
|
|
{
|
|
"outboundTag": "blocked",
|
|
"protocol": [
|
|
"bittorrent"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
},
|
|
"stats": {}
|
|
}
|