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
58 lines
1.3 KiB
JSON
58 lines
1.3 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": [
|
|
{
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "{{ protal.address }}",
|
|
"port": 65511,
|
|
"users": [
|
|
{
|
|
"id": "{{ uuid }}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp"
|
|
},
|
|
"tag": "proxy"
|
|
},
|
|
{
|
|
"protocol": "freedom",
|
|
"tag": "direct"
|
|
}
|
|
]
|
|
} |