{ "dns": { "hosts": { "domain:googleapis.cn": "googleapis.com" }, "servers": [ "1.1.1.1" ] }, "inbounds": [ { "listen": "127.0.0.1", "port": 10808, "protocol": "socks", "settings": { "auth": "noauth", "udp": true, "userLevel": 8 }, "sniffing": { "destOverride": [ "http", "tls" ], "enabled": true }, "tag": "socks" }, { "listen": "127.0.0.1", "port": 10809, "protocol": "http", "settings": { "userLevel": 8 }, "tag": "http" } ], "log": { "loglevel": "warning" }, "outbounds": [ { "protocol": "wireguard", "settings": { "address": [ "172.16.0.2/32", "2606:4700:110:8a9b:1a3:22e6:fc8a:d1e9/128" ], "mtu": 1280, "peers": [ { "endpoint": "188.114.96.59:934", "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=" } ], "secretKey": "aOFibRKOvHiBgRfNHL/fTA51HW8xsyhpcMfR+Zl0Ams=" }, "streamSettings": { "sockopt": { "dialerProxy": "warpIR" } }, "tag": "warpMain" }, { "protocol": "wireguard", "settings": { "address": [ "172.16.0.2/32", "2606:4700:110:878f:e758:3939:681f:c7e4/128" ], "mtu": 1280, "peers": [ { "endpoint": "188.114.96.59:934", "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=" } ], "secretKey": "kKeybeYALy/vjB4NFIMm4dFs7PoUWQV4eF1M3TI2qF4=" }, "tag": "warpIR" }, { "protocol": "freedom", "settings": {}, "tag": "direct" }, { "protocol": "blackhole", "settings": { "response": { "type": "http" } }, "tag": "block" } ], "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "inboundTag": [ "api" ], "outboundTag": "api", "enabled": true }, { "ip": [ "1.1.1.1" ], "outboundTag": "warpMain", "port": "53", "type": "field" }, { "id": "5627785659655799759", "type": "field", "port": "0-65535", "outboundTag": "warpMain", "enabled": true } ] } }