mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-08 18:13:13 +00:00
40 lines
959 B
JSON
40 lines
959 B
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 1080,
|
|
"listen": "127.0.0.1",
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "{{ host }}",
|
|
"port": {{ port }},
|
|
"users": [
|
|
{
|
|
"id": "{{ uuid }}",
|
|
"encryption": "none"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "kcp",
|
|
"kcpSettings": {
|
|
"seed": "{{ seed }}"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |