mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-06-28 21:26:06 +08:00
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 10800,
|
|
"listen": "127.0.0.1",
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "example.com", // Replace it with your domain name or server IP (there is no need to resolve the domain name when making a request)
|
|
"port": 443,
|
|
"users": [
|
|
{
|
|
"id": "", // fill in your UUID
|
|
"flow": "xtls-rprx-direct",
|
|
"encryption": "none",
|
|
"level": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "xtls", // Need to use XTLS
|
|
"xtlsSettings": {
|
|
"serverName": "example.com" // Change to your domain name
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|