diff --git a/xray-北京vps-config.json b/xray-北京vps-config.json index f638714..9b19c53 100644 --- a/xray-北京vps-config.json +++ b/xray-北京vps-config.json @@ -230,6 +230,22 @@ "port": 51413, "network": "tcp" } + }, + { + "tag": "socks-dynamic", + "listen": "0.0.0.0", + "port": 38658, + "protocol": "socks", + "settings": { + "auth": "password", + "accounts": [ + { + "user": "dynamic", + "pass": "ab981c1d2b6d031631ee75986ea4e7c7" + } + ], + "udp": true + } } ], "outbounds": [ @@ -348,6 +364,13 @@ ], "outboundTag": "portal" }, + { + "type": "field", + "inboundTag": [ + "socks-dynamic" + ], + "outboundTag": "portal" + }, { "type": "field", "inboundTag": [ diff --git a/xray-旁路由-config.json b/xray-旁路由-config.json index 9023dde..6bac3ad 100644 --- a/xray-旁路由-config.json +++ b/xray-旁路由-config.json @@ -271,7 +271,23 @@ "inboundTag": [ "bridge" ], + "port": "38658", + "outboundTag": "direct" + }, + { + "type": "field", + "inboundTag": [ + "bridge" + ], + "port": "38653", "outboundTag": "to_nas" + }, + { + "type": "field", + "inboundTag": [ + "bridge" + ], + "outboundTag": "direct" } ] }