mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-27 11:01:27 +00:00
42 lines
869 B
Plaintext
42 lines
869 B
Plaintext
|
{
|
||
|
"log": {
|
||
|
"loglevel": "warning"
|
||
|
},
|
||
|
"routing": {
|
||
|
"domainStrategy": "AsIs",
|
||
|
"rules": [
|
||
|
{
|
||
|
"type": "field",
|
||
|
"ip": [
|
||
|
"geoip:private"
|
||
|
],
|
||
|
"outboundTag": "block"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"listen": "0.0.0.0",
|
||
|
"port": 1234,
|
||
|
"protocol": "shadowsocks",
|
||
|
"settings": {
|
||
|
"method": "chacha20-ietf-poly1305",
|
||
|
"password": "{{ password }}"
|
||
|
},
|
||
|
"streamSettings": {
|
||
|
"network": "tcp"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "freedom",
|
||
|
"tag": "direct"
|
||
|
},
|
||
|
{
|
||
|
"protocol": "blackhole",
|
||
|
"tag": "block"
|
||
|
}
|
||
|
]
|
||
|
}
|