Browse Source

docs: inbounds ports

master
dnomd343 4 years ago
parent
commit
5349f99ea3
  1. 8
      README.md
  2. 10
      load.sh

8
README.md

@ -162,6 +162,14 @@ iface macvlan inet static
shell> reboot
```
预设接口
+ `Socks5代理`: 1080端口,支持UDP,无授权,标志为 `socks`
+ `HTTP代理`: 1081端口,无授权,标志为 `http`
+ `全局Socks5代理`: 10808端口,支持UDP,无授权,标志为 `proxy`
## 构建
如果需要修改TProxy或构建自己的容器,可按如下操作

10
load.sh

@ -113,10 +113,18 @@ cat>$XRAY_DIR/expose/routing.json<<EOF
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"inboundTag": [
"proxy"
],
"outboundTag": "node"
},
{
"type": "field",
"ip": [
"0.0.0.0/0"
"0.0.0.0/0",
"::/0"
],
"outboundTag": "node"
}

Loading…
Cancel
Save