{ "dns": { "servers": [ "8.8.8.8", "8.8.4.4", "localhost" ] }, "log": { "error": "", "loglevel": "info", "access": "" }, "outbounds": [ { "mux": { "enabled": true }, "protocol": "vmess", "streamSettings": { "network": "kcp", "wsSettings": {}, "tlsSettings": {}, "httpSettings": {}, "kcpSettings": { "tti": 50, "readBufferSize": 2, "header": { "type": "wechat-video" }, "congestion": false, "uplinkCapacity": 100, "downlinkCapacity": 100, "mtu": 1350, "writeBufferSize": 2 }, "security": "none", "quicSettings": {}, "tcpSettings": {} }, "settings": { "vnext": [ { "users": [ { "security": "aes-128-gcm", "id": "唯一的ID", "alterId": 16 } ], "address": "服务端的IPv6地址", "port": 服务端的端口号 } ] } }, { "protocol": "freedom", "settings": { "response": null }, "tag": "direct" } ], "inbounds": [ { "port": 1080, "listen": "0.0.0.0", "protocol": "http", "streamSettings": null, "settings": { "ip": "127.0.0.1", "clients": null, "auth": "noauth", "udp": true } }, { "port": 1081, "listen": "0.0.0.0", "protocol": "socks", "streamSettings": null, "settings": { "ip": "127.0.0.1", "clients": null, "auth": "noauth", "udp": true } } ], "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "outboundTag": "direct", "ip": [ "geoip:private" ] }, { "domain": [ "geosite:cn" ], "type": "field", "outboundTag": "direct" }, { "domain": [ "geoip:cn" ], "type": "field", "outboundTag": "direct" } ] } }