复制命令
#开始 { "log": { "access": "", "error": "", "loglevel": "warning" }, "inbounds": [ { "tag": "socks", "port": 10808, "listen": "127.0.0.1", "protocol": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls", "fakedns" ], "routeOnly": false }, "settings": { "auth": "noauth", "udp": true, "allowTransparent": false } }, { "tag": "http", "port": 10809, "listen": "127.0.0.1", "protocol": "http", "sniffing": { "enabled": true, "destOverride": [ "http", "tls", "fakedns" ], "routeOnly": false }, "settings": { "auth": "noauth", "udp": true, "allowTransparent": false } } ], "outbounds": [ { "tag": "proxy", "protocol": "socks", "settings": { "servers": [ { "address": "156.249.141.13", "ota": false, "port": 8889, "level": 1, "users": [ { "user": "ffxxnofg1", "pass": "txkwwmyd1", "level": 1 } ] } ] }, "streamSettings": { "network": "tcp", "sockopt": { "dialerProxy": "proxy1" } }, "mux": { "enabled": false, "concurrency": -1 } }, { "tag": "proxy1", "protocol": "shadowsocks", "settings": { "servers": [ { "address": "iepl1.097420.xyz", "method": "chacha20-ietf-poly1305", "ota": false, "password": "a85a1ba0-12ed-427a-96d2-ecba5eed0ee7", "port": 33223, "level": 1 } ], "domainStrategy": "AsIs", "userLevel": 0 }, "streamSettings": { "network": "tcp" }, "mux": { "enabled": false, "concurrency": -1 } }, { "tag": "direct", "protocol": "freedom", "settings": {} }, { "tag": "block", "protocol": "blackhole", "settings": { "response": { "type": "http" } } } ], "dns": { "hosts": { "dns.google": "8.8.8.8", "proxy.example.com": "127.0.0.1" }, "servers": [ { "address": "223.5.5.5", "domains": [ "iepl1.097420.xyz" ] }, { "address": "223.5.5.5", "domains": [ "geosite:cn", "geosite:geolocation-cn" ], "expectIPs": [ "geoip:cn" ] }, "1.1.1.1", "8.8.8.8", "https://dns.google/dns-query" ] }, "routing": { "domainStrategy": "AsIs", "rules": [ { "type": "field", "inboundTag": [ "api" ], "outboundTag": "api" }, { "type": "field", "outboundTag": "direct", "domain": [ "domain:example-example.com", "domain:example-example2.com" ] }, { "type": "field", "port": "443", "network": "udp", "outboundTag": "block" }, { "type": "field", "outboundTag": "block", "domain": [ "geosite:category-ads-all" ] }, { "type": "field", "outboundTag": "direct", "domain": [ "geosite:cn", "geosite:geolocation-cn" ] }, { "type": "field", "outboundTag": "direct", "ip": [ "223.5.5.5/32", "119.29.29.29/32", "180.76.76.76/32", "114.114.114.114/32", "geoip:private", "geoip:cn" ] }, { "type": "field", "port": "0-65535", "outboundTag": "proxy" } ] } }
#结束