2020-09-25 17:17:22 +00:00
|
|
|
|
{
|
|
|
|
|
"log": {
|
|
|
|
|
"loglevel": "warning"
|
|
|
|
|
},
|
|
|
|
|
"inbounds": [
|
|
|
|
|
{
|
|
|
|
|
"port": 10800,
|
|
|
|
|
"listen": "127.0.0.1",
|
|
|
|
|
"protocol": "socks",
|
|
|
|
|
"settings": {
|
|
|
|
|
"udp": true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"outbounds": [
|
|
|
|
|
{
|
|
|
|
|
"protocol": "vless",
|
|
|
|
|
"settings": {
|
|
|
|
|
"vnext": [
|
|
|
|
|
{
|
|
|
|
|
"address": "example.com", // 换成你的域名或服务器 IP(发起请求时无需解析域名了)
|
|
|
|
|
"port": 443,
|
|
|
|
|
"users": [
|
|
|
|
|
{
|
|
|
|
|
"id": "", // 填写你的 UUID
|
2020-11-05 13:50:20 +00:00
|
|
|
|
"flow": "xtls-rprx-direct",
|
2020-09-25 17:17:22 +00:00
|
|
|
|
"encryption": "none",
|
|
|
|
|
"level": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"streamSettings": {
|
|
|
|
|
"network": "tcp",
|
|
|
|
|
"security": "xtls", // 需要使用 XTLS
|
|
|
|
|
"xtlsSettings": {
|
|
|
|
|
"serverName": "example.com" // 换成你的域名
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|