{ "dns": { "servers": [ { "tag": "dns_main", "address": "223.5.5.5", "detour": "proxy" } ], "rules": [], "final": "dns_main", "strategy": "ipv4_only" }, "inbounds": [ { "type": "tun", "address": [ "172.19.0.1/30", "fdfe:dcba:9876::1/126" ], "auto_route": true, "strict_route": true } ], "outbounds": [ { "type": "hysteria2", "tag": "proxy", "server": "45.134.36.42", // VPS ip "server_port": 50004, "up_mbps": 20, //上传速率,实际填写,过大会导致流量浪费 "down_mbps": 150, //下载速率,实际填写,过大会导致流量浪费 "password": "LER1SPLqYBFp3UUv7JQBe+6b", //hysteria2 服务密码 "tls": { "enabled": true, "server_name": "bing.com", //若域名搭建,请填写域名,若IP搭建,请填写 bing.com "insecure": true //若域名搭建,请填写 false,若IP搭建,请填写 true } } ], "route": { "rules": [ { "action": "sniff" }, { "protocol": "dns", "action": "hijack-dns" } ], "final": "proxy", "auto_detect_interface": true } }