7db64aedd9
Co-Authored-By: Claude Code <noreply@anthropic.com>
99 lines
2.6 KiB
JSON
99 lines
2.6 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"dns": {
|
|
"servers": [
|
|
"8.8.8.8",
|
|
"8.8.4.4",
|
|
"localhost"
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "0.0.0.0",
|
|
"port": 8443,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "__XRAY_UUID__",
|
|
"level": 1
|
|
}
|
|
],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"network": "xhttp",
|
|
"security": "none",
|
|
"xhttpSettings": {
|
|
"path": "/__XHTTP_PATH__",
|
|
"mode": "auto",
|
|
"extra": {
|
|
"xPaddingObfsMode": true,
|
|
"xPaddingMethod": "tokenish",
|
|
"xPaddingPlacement": "queryInHeader",
|
|
"xPaddingHeader": "__XPADDING_HEADER__",
|
|
"xPaddingKey": "__XPADDING_KEY__"
|
|
}
|
|
}
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"settings": {
|
|
"domainStrategy": "UseIP"
|
|
},
|
|
"tag": "direct"
|
|
},
|
|
{
|
|
"protocol": "blackhole",
|
|
"settings": {},
|
|
"tag": "blocked"
|
|
}
|
|
],
|
|
"routing": {
|
|
"domainStrategy": "IPIfNonMatch",
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"ip": [
|
|
"geoip:cn",
|
|
"geoip:private"
|
|
],
|
|
"outboundTag": "blocked"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"ip": [
|
|
"0.0.0.0/8",
|
|
"10.0.0.0/8",
|
|
"100.64.0.0/10",
|
|
"127.0.0.0/8",
|
|
"169.254.0.0/16",
|
|
"172.16.0.0/12",
|
|
"192.0.0.0/24",
|
|
"192.0.2.0/24",
|
|
"192.168.0.0/16",
|
|
"198.18.0.0/15",
|
|
"198.51.100.0/24",
|
|
"203.0.113.0/24",
|
|
"::1/128",
|
|
"fc00::/7",
|
|
"fe80::/10"
|
|
],
|
|
"outboundTag": "blocked"
|
|
}
|
|
]
|
|
}
|
|
}
|