mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-13 20:23:20 +00:00
49 lines
894 B
JSON
49 lines
894 B
JSON
|
{
|
||
|
"log": {
|
||
|
"loglevel": "warning"
|
||
|
},
|
||
|
"routing": {
|
||
|
"domainStrategy": "IPIfNonMatch",
|
||
|
"domainMatcher": "mph",
|
||
|
"rules": [
|
||
|
{
|
||
|
"type": "field",
|
||
|
"port": "0-65535",
|
||
|
"outboundTag": "proxy",
|
||
|
"enabled": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"listen": "127.0.0.1",
|
||
|
"port": "2080",
|
||
|
"protocol": "socks",
|
||
|
"settings": {
|
||
|
"auth": "noauth",
|
||
|
"udp": true,
|
||
|
"ip": "127.0.0.1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"listen": "127.0.0.1",
|
||
|
"port": "2081",
|
||
|
"protocol": "http"
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "shadowsocks",
|
||
|
"settings": {
|
||
|
"servers": [
|
||
|
{
|
||
|
"address": "{{ protal.address }}",
|
||
|
"port": 65511,
|
||
|
"method": "2022-blake3-aes-256-gcm",
|
||
|
"password": "{{ psk external }}"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|