diff --git a/xray-北京vps-config.json b/xray-北京vps-config.json index 42e422c..8643426 100644 --- a/xray-北京vps-config.json +++ b/xray-北京vps-config.json @@ -108,6 +108,28 @@ "network": "tcp" } }, + { + "tag": "external_3000", + "listen": "0.0.0.0", + "port": 3000, + "protocol": "dokodemo-door", + "settings": { + "address": "127.0.0.1", + "port": 3000, + "network": "tcp" + } + }, + { + "tag": "external_222", + "listen": "0.0.0.0", + "port": 222, + "protocol": "dokodemo-door", + "settings": { + "address": "127.0.0.1", + "port": 222, + "network": "tcp" + } + }, { "tag": "interconn", "listen": "127.0.0.1", @@ -257,6 +279,20 @@ ], "outboundTag": "portal" }, + { + "type": "field", + "inboundTag": [ + "external_3000" + ], + "outboundTag": "portal" + }, + { + "type": "field", + "inboundTag": [ + "external_222" + ], + "outboundTag": "portal" + }, { "type": "field", "inboundTag": [ diff --git a/xray-旁路由-config.json b/xray-旁路由-config.json index 9d4e2e2..0c4270c 100644 --- a/xray-旁路由-config.json +++ b/xray-旁路由-config.json @@ -67,6 +67,20 @@ "redirect": "192.168.1.177:8501" } }, + { + "tag": "to_3000", + "protocol": "freedom", + "settings": { + "redirect": "192.168.1.188:3000" + } + }, + { + "tag": "to_222", + "protocol": "freedom", + "settings": { + "redirect": "192.168.1.188:222" + } + }, { "tag": "interconn", "protocol": "vless", @@ -163,6 +177,22 @@ "port": "39766", "outboundTag": "to_router_web" }, + { + "type": "field", + "inboundTag": [ + "bridge" + ], + "port": "3000", + "outboundTag": "to_3000" + }, + { + "type": "field", + "inboundTag": [ + "bridge" + ], + "port": "222", + "outboundTag": "to_222" + }, { "type": "field", "inboundTag": [