mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-22 08:31:29 +00:00
93377a4ac5
* 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
64 lines
1 KiB
JSON
64 lines
1 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"reverse": {
|
|
"portals": [
|
|
{
|
|
"tag": "portal",
|
|
"domain": "reverse.proxy"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "external",
|
|
"port": 65511,
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "{{ uuid }}"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "interconn",
|
|
"port": 65510,
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "{{ uuid }}"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp"
|
|
}
|
|
}
|
|
],
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"interconn"
|
|
],
|
|
"domain": [],
|
|
"outboundTag": "portal"
|
|
}
|
|
]
|
|
}
|
|
} |