mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-13 20:23:20 +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
54 lines
979 B
JSON
54 lines
979 B
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"reverse": {
|
|
"portals": [
|
|
{
|
|
"tag": "portal",
|
|
"domain": "reverse.proxy"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "external",
|
|
"port": 65511,
|
|
"protocol": "shadowsocks",
|
|
"settings": {
|
|
"method": "2022-blake3-aes-256-gcm",
|
|
"password": "{{ psk external }}",
|
|
"network": "tcp,udp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "interconn",
|
|
"port": 65510,
|
|
"protocol": "shadowsocks",
|
|
"settings": {
|
|
"method": "2022-blake3-aes-256-gcm",
|
|
"password": "{{ psk interconn }}",
|
|
"network": "tcp,udp"
|
|
}
|
|
}
|
|
],
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"interconn"
|
|
],
|
|
"domain": [],
|
|
"outboundTag": "portal"
|
|
}
|
|
]
|
|
}
|
|
} |