mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-24 17:41:29 +00:00
33 lines
725 B
JSON
33 lines
725 B
JSON
|
{
|
||
|
"log": {
|
||
|
"loglevel": "warning"
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"port": 10800,
|
||
|
"listen": "127.0.0.1",
|
||
|
"protocol": "socks",
|
||
|
"settings": {
|
||
|
"udp": true
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "trojan",
|
||
|
"settings": {
|
||
|
"servers": [
|
||
|
{
|
||
|
"address": "example.com",
|
||
|
"port": 443,
|
||
|
"password": "your password"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"streamSettings": {
|
||
|
"network": "tcp",
|
||
|
"security": "tls"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|