config.json
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | "servers": [ | |
| 7 | 7 | "8.8.8.8", | |
| 8 | 8 | { | |
| 9 | - | "address": "180.76.76.76", | |
| 9 | + | "address": "114.114.114.114", | |
| 10 | 10 | "domains": [ | |
| 11 | 11 | "geosite:cn", | |
| 12 | 12 | "geosite:geolocation-cn" | |
| @@ -81,7 +81,7 @@ | |||
| 81 | 81 | { | |
| 82 | 82 | "protocol": "freedom", | |
| 83 | 83 | "settings": { | |
| 84 | - | "domainStrategy": "UseIP" | |
| 84 | + | "domainStrategy": "UseIPv4" | |
| 85 | 85 | }, | |
| 86 | 86 | "tag": "direct" | |
| 87 | 87 | }, | |
| @@ -121,7 +121,7 @@ | |||
| 121 | 121 | { | |
| 122 | 122 | "type": "field", | |
| 123 | 123 | "ip": [ | |
| 124 | - | "180.76.76.76" | |
| 124 | + | "114.114.114.114" | |
| 125 | 125 | ], | |
| 126 | 126 | "outboundTag": "direct", | |
| 127 | 127 | "port": "53" | |
config.json
| @@ -156,8 +156,8 @@ | |||
| 156 | 156 | "type": "field", | |
| 157 | 157 | "domain": [ | |
| 158 | 158 | "geosite:cn", | |
| 159 | - | "geosite:steam", | |
| 160 | - | "domain:download.epicgames.com" | |
| 159 | + | "domain:epicgames.com", | |
| 160 | + | "domain:deepseek.com" | |
| 161 | 161 | ], | |
| 162 | 162 | "outboundTag": "direct" | |
| 163 | 163 | }, | |
config.json
| @@ -130,7 +130,11 @@ | |||
| 130 | 130 | "type": "field", | |
| 131 | 131 | "domain": [ | |
| 132 | 132 | "domain:googleapis.cn", | |
| 133 | - | "domain:gstatic.com" | |
| 133 | + | "domain:gstatic.com", | |
| 134 | + | "domain:steam-chat.com", | |
| 135 | + | "domain:steam-api.com", | |
| 136 | + | "domain:steampowered.com", | |
| 137 | + | "domain:steamcommunity.com" | |
| 134 | 138 | ], | |
| 135 | 139 | "outboundTag": "proxy" | |
| 136 | 140 | }, | |
| @@ -151,7 +155,9 @@ | |||
| 151 | 155 | { | |
| 152 | 156 | "type": "field", | |
| 153 | 157 | "domain": [ | |
| 154 | - | "geosite:cn" | |
| 158 | + | "geosite:cn", | |
| 159 | + | "geosite:steam", | |
| 160 | + | "domain:download.epicgames.com" | |
| 155 | 161 | ], | |
| 156 | 162 | "outboundTag": "direct" | |
| 157 | 163 | }, | |
config.json
| @@ -38,15 +38,6 @@ | |||
| 38 | 38 | }, | |
| 39 | 39 | "tag": "socks" | |
| 40 | 40 | }, | |
| 41 | - | { | |
| 42 | - | "listen": "127.0.0.1", | |
| 43 | - | "port": 8118, | |
| 44 | - | "protocol": "http", | |
| 45 | - | "settings": { | |
| 46 | - | "userLevel": 8 | |
| 47 | - | }, | |
| 48 | - | "tag": "http" | |
| 49 | - | }, | |
| 50 | 41 | { | |
| 51 | 42 | "listen": "0.0.0.0", | |
| 52 | 43 | "port": 8119, | |
config.json(文件已创建)
| @@ -0,0 +1,181 @@ | |||
| 1 | + | { | |
| 2 | + | "dns": { | |
| 3 | + | "hosts": { | |
| 4 | + | "domain:googleapis.cn": "googleapis.com" | |
| 5 | + | }, | |
| 6 | + | "servers": [ | |
| 7 | + | "8.8.8.8", | |
| 8 | + | { | |
| 9 | + | "address": "180.76.76.76", | |
| 10 | + | "domains": [ | |
| 11 | + | "geosite:cn", | |
| 12 | + | "geosite:geolocation-cn" | |
| 13 | + | ], | |
| 14 | + | "expectIPs": [ | |
| 15 | + | "geoip:cn" | |
| 16 | + | ], | |
| 17 | + | "port": 53 | |
| 18 | + | } | |
| 19 | + | ] | |
| 20 | + | }, | |
| 21 | + | "inbounds": [ | |
| 22 | + | { | |
| 23 | + | "listen": "127.0.0.1", | |
| 24 | + | "port": 3080, | |
| 25 | + | "protocol": "socks", | |
| 26 | + | "settings": { | |
| 27 | + | "auth": "noauth", | |
| 28 | + | "udp": true, | |
| 29 | + | "userLevel": 8 | |
| 30 | + | }, | |
| 31 | + | "sniffing": { | |
| 32 | + | "destOverride": [ | |
| 33 | + | "http", | |
| 34 | + | "tls" | |
| 35 | + | ], | |
| 36 | + | "enabled": true, | |
| 37 | + | "routeOnly": false | |
| 38 | + | }, | |
| 39 | + | "tag": "socks" | |
| 40 | + | }, | |
| 41 | + | { | |
| 42 | + | "listen": "127.0.0.1", | |
| 43 | + | "port": 8118, | |
| 44 | + | "protocol": "http", | |
| 45 | + | "settings": { | |
| 46 | + | "userLevel": 8 | |
| 47 | + | }, | |
| 48 | + | "tag": "http" | |
| 49 | + | }, | |
| 50 | + | { | |
| 51 | + | "listen": "0.0.0.0", | |
| 52 | + | "port": 8119, | |
| 53 | + | "protocol": "http", | |
| 54 | + | "settings": { | |
| 55 | + | "userLevel": 8 | |
| 56 | + | }, | |
| 57 | + | "tag": "http" | |
| 58 | + | } | |
| 59 | + | ], | |
| 60 | + | "log": { | |
| 61 | + | "loglevel": "info" | |
| 62 | + | }, | |
| 63 | + | "outbounds": [ | |
| 64 | + | { | |
| 65 | + | "mux": { | |
| 66 | + | "concurrency": -1, | |
| 67 | + | "enabled": false, | |
| 68 | + | "xudpConcurrency": 8, | |
| 69 | + | "xudpProxyUDP443": "" | |
| 70 | + | }, | |
| 71 | + | "protocol": "socks", | |
| 72 | + | "settings": { | |
| 73 | + | "servers": [ | |
| 74 | + | { | |
| 75 | + | "address": "127.0.0.1", | |
| 76 | + | "level": 8, | |
| 77 | + | "method": "chacha20-poly1305", | |
| 78 | + | "ota": false, | |
| 79 | + | "password": "", | |
| 80 | + | "port": 2080 | |
| 81 | + | } | |
| 82 | + | ] | |
| 83 | + | }, | |
| 84 | + | "streamSettings": { | |
| 85 | + | "network": "tcp", | |
| 86 | + | "security": "" | |
| 87 | + | }, | |
| 88 | + | "tag": "proxy" | |
| 89 | + | }, | |
| 90 | + | { | |
| 91 | + | "protocol": "freedom", | |
| 92 | + | "settings": { | |
| 93 | + | "domainStrategy": "UseIP" | |
| 94 | + | }, | |
| 95 | + | "tag": "direct" | |
| 96 | + | }, | |
| 97 | + | { | |
| 98 | + | "protocol": "blackhole", | |
| 99 | + | "settings": { | |
| 100 | + | "response": { | |
| 101 | + | "type": "http" | |
| 102 | + | } | |
| 103 | + | }, | |
| 104 | + | "tag": "block" | |
| 105 | + | }, | |
| 106 | + | { | |
| 107 | + | "protocol": "dns", | |
| 108 | + | "tag": "dns-out" | |
| 109 | + | } | |
| 110 | + | ], | |
| 111 | + | "remarks": "ACL", | |
| 112 | + | "routing": { | |
| 113 | + | "domainStrategy": "IPIfNonMatch", | |
| 114 | + | "rules": [ | |
| 115 | + | { | |
| 116 | + | "type": "field", | |
| 117 | + | "inboundTag": [ | |
| 118 | + | "dns-in" | |
| 119 | + | ], | |
| 120 | + | "outboundTag": "dns-out" | |
| 121 | + | }, | |
| 122 | + | { | |
| 123 | + | "type": "field", | |
| 124 | + | "ip": [ | |
| 125 | + | "8.8.8.8" | |
| 126 | + | ], | |
| 127 | + | "outboundTag": "proxy", | |
| 128 | + | "port": "53" | |
| 129 | + | }, | |
| 130 | + | { | |
| 131 | + | "type": "field", | |
| 132 | + | "ip": [ | |
| 133 | + | "180.76.76.76" | |
| 134 | + | ], | |
| 135 | + | "outboundTag": "direct", | |
| 136 | + | "port": "53" | |
| 137 | + | }, | |
| 138 | + | { | |
| 139 | + | "type": "field", | |
| 140 | + | "domain": [ | |
| 141 | + | "domain:googleapis.cn", | |
| 142 | + | "domain:gstatic.com" | |
| 143 | + | ], | |
| 144 | + | "outboundTag": "proxy" | |
| 145 | + | }, | |
| 146 | + | { | |
| 147 | + | "type": "field", | |
| 148 | + | "ip": [ | |
| 149 | + | "geoip:private" | |
| 150 | + | ], | |
| 151 | + | "outboundTag": "direct" | |
| 152 | + | }, | |
| 153 | + | { | |
| 154 | + | "type": "field", | |
| 155 | + | "ip": [ | |
| 156 | + | "geoip:cn" | |
| 157 | + | ], | |
| 158 | + | "outboundTag": "direct" | |
| 159 | + | }, | |
| 160 | + | { | |
| 161 | + | "type": "field", | |
| 162 | + | "domain": [ | |
| 163 | + | "geosite:cn" | |
| 164 | + | ], | |
| 165 | + | "outboundTag": "direct" | |
| 166 | + | }, | |
| 167 | + | { | |
| 168 | + | "type": "field", | |
| 169 | + | "domain": [ | |
| 170 | + | "geosite:geolocation-cn" | |
| 171 | + | ], | |
| 172 | + | "outboundTag": "direct" | |
| 173 | + | }, | |
| 174 | + | { | |
| 175 | + | "type": "field", | |
| 176 | + | "outboundTag": "proxy", | |
| 177 | + | "port": "0-65535" | |
| 178 | + | } | |
| 179 | + | ] | |
| 180 | + | } | |
| 181 | + | } | |