| 5 |
| "https+local://dns.google/dns-query", |
| 6 | "https+local://dns.adguard.com/dns-query" |
| 7 | ] |
| 8 | }, |
| 9 | "inbounds": [{ |
| 10 | "tag": "socks-in", |
| 11 | "listen": "127.0.0.1", |
| 12 | "port": 114514, |
| 13 | "protocol": "socks", |
| 14 | "settings": { |
| 15 | "auth": "noauth", |
| 16 | "udp": true, |
| 17 | "userLevel": 8 |
| 18 | }, |
| 19 | "sniffing": { |
| 20 | "destOverride": [ |
| 21 | "http", |
| 22 | "tls" |
| 23 | ], |
| 24 | "enabled": true |
| 25 | } |
| 26 | } |
| 27 | ], |
| 28 | "outbounds": [{ |
| 29 | "tag": "proxy", |
| 30 | "protocol": "vmess", |
| 31 | "settings": { |
| 32 | "vnext": [{ |
| 33 | "address": "v2ray.cool", |
| 34 | "port": 443, |
| 35 | "users": [{ |
| 36 | "alterId": 64, |
| 37 | "id": "73670f86-1145-4ffd-b468-6cd73cea1f29", |
| 38 | "level": 8, |
| 39 | "security": "none" |
| 40 | }] |
| 41 | }] |
| 42 | }, |
| 43 | "streamSettings": { |
| 44 | "network": "ws", |
| 45 | "security": "tls", |
| 46 | "tlssettings": { |
| 47 | "allowInsecure": true, |
| 48 | "serverName": "baidu.com" |
| 49 | }, |
| 50 | "wssettings": { |
| 51 | "connectionReuse": true, |
| 52 | "headers": { |
| 53 | "Host": "baidu.com" |
| 54 | }, |
| 55 | "path": "/search" |
| 56 | } |
| 57 | } |
| 58 | }], |
| 59 | "routing": { |
| 60 | "domainStrategy": "IPIfNonMatch", |
| 61 | "rules": [{ |
| 62 | "inboundTag": [ |
| 63 | "socks-in" |
| 64 | ], |
| 65 | "outboundTag": "proxy", |
| 66 | "type": "field" |
| 67 | }] |
| 68 | } |
| 69 | } |