1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
| { "log": { "level": "info" }, "inbounds": [ { "type": "socks", "tag": "socks-in", "listen": "::", "listen_port": 5353, "tcp_fast_open": false, "udp_fragment": true, "sniff": true, "sniff_override_destination": false, "sniff_timeout": "300ms", "udp_timeout": 300, "proxy_protocol": false, "proxy_protocol_accept_no_header": false } ], "outbounds": [ { "type": "direct" }, { "type": "wireguard", "tag": "wireguard", "server": "engage.cloudflareclient.com", "server_port": 2408, "local_address": ["10.0.0.2/32"], "private_key": "记录的private_key", "peer_public_key": "记录的public_key", "reserved": [0, 0, 0] }, { "type": "socks", "tag": "tor", "server": "tor", "server_port": 9050 } ], "route": { "rules": [ { "domain_suffix": [".onion"], "outbound": "tor" }, { "domain_suffix": ["openai.com"], "outbound": "wireguard" }, { "domain_suffix": [".cn"], "outbound": "wireguard" }, { "domain_suffix": ["check.torproject.org"], "outbound": "tor" }, { "domain_suffix": ["myip.ipip.net"], "outbound": "wireguard" }, { "geoip": ["cn"], "outbound": "wireguard" }, { "geosite": ["cn"], "outbound": "wireguard" }, { "domain_keyword": ["bing","microsoft"], "outbound": "wireguard" } ] } }
|