Xray-examples/ReverseProxy/VLESS-TCP-XTLS-WS/client_tcp.json
N1klaz 93377a4ac5
add VLESS-TCP-XTLS-WS (#63)
* add VLESS-TCP-XTLS-WS

add reverse proxy examples

add VLESS-TCP-XTLS-WS

* Update README.md

fix typo

update

移除 client、bridge 配置中的 "allowInsecure": true
默认注释 portal.json 中仅转发内网流量的配置
update readme.md
2022-07-02 10:33:14 -04:00

65 lines
1.2 KiB
JSON

{
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"port": "0-65535",
"outboundTag": "proxy"
}
]
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": "2080",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "127.0.0.1"
}
},
{
"listen": "127.0.0.1",
"port": "2081",
"protocol": "http"
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "reverse.example", // 换成你的域名或服务器 IP
"port": 443,
"users": [
{
"id": "", // 填写你的 UUID
"flow": "xtls-rprx-direct",
"encryption": "none",
"level": 0
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "xtls",
"xtlsSettings": {
"serverName": "reverse.example" // 换成你的域名
}
}
},
{
"protocol": "freedom",
"tag": "direct"
}
]
}