mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-09 10:33:12 +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 }}"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |