From cb62839e191b277ca7716e6779223d758dc3e0f8 Mon Sep 17 00:00:00 2001 From: salmonstill Date: Fri, 26 Jun 2026 10:28:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E5=88=87=E6=AD=A3=E5=B8=B8=EF=BC=8C?= =?UTF-8?q?=E6=9C=80=E8=BF=91=E6=96=91=E9=A9=AC=E5=B7=A5=E5=A5=BD=E5=83=8F?= =?UTF-8?q?=E6=9C=89=E7=82=B9=E4=B8=8D=E5=A4=AA=E7=A8=B3=E5=AE=9A=EF=BC=8C?= =?UTF-8?q?=E6=89=80=E4=BB=A5=E5=8A=A0=E4=B8=80=E4=B8=AADocker=20IO?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=B5=B0=E5=9B=BD=E5=A4=96=E7=9A=84=E6=AD=A5?= =?UTF-8?q?=E9=AA=A4=E5=87=86=E5=A4=87=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ dlc-temp | 1 + meta-rules-temp | 1 + tun模式下的主机mihomo config.yaml | 2 ++ xray-北京vps-config.json | 36 +++++++++++++++++++++++++++++ xray-旁路由-config.json | 30 ++++++++++++++++++++++++ 旁路由的mihomo config.yaml | 2 ++ 非tun模式下的主机mihomo config.yaml | 2 ++ 8 files changed, 77 insertions(+) create mode 160000 dlc-temp create mode 160000 meta-rules-temp diff --git a/README.md b/README.md index f64a4cf..dbbf448 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ | `external_router_ssh` | 38657 | → portal → 旁路由 :22 | | `external_spark_ssh` | 38659 | → portal → Spark (166) :22 | | `external_spark_rdp` | 38660 | → portal → Spark (166) :3389 | +| `external_win_rdp` | 38664 | → portal → Windows (177) :3389 | | `external_spark_38662` | 38662 | → portal → Spark (166) :38662 | | `external_router_web` | 39766 | → portal → 旁路由 :80 | | `external_tmp` | 8501 | → portal → Windows :8501 | @@ -119,6 +120,8 @@ - 38659 → `to_spark_ssh`(Spark SSH 远程) - 38660 → `to_spark_rdp`(Spark xRDP 桌面远程) - 38662 → `to_spark_38662` +- 38664 → `to_win_rdp`(Windows 远程桌面) +- 38665 → `to_spark_3080`(Spark Web 3080) - 默认(catch-all)→ **`direct`**(不匹配端口规则的动态请求直连目标) - `socks-lan` 入站 → `to_beijing_direct` diff --git a/dlc-temp b/dlc-temp new file mode 160000 index 0000000..ce795c9 --- /dev/null +++ b/dlc-temp @@ -0,0 +1 @@ +Subproject commit ce795c92b3d708df445fbae09e5c7fab7ec2eb6a diff --git a/meta-rules-temp b/meta-rules-temp new file mode 160000 index 0000000..ca48854 --- /dev/null +++ b/meta-rules-temp @@ -0,0 +1 @@ +Subproject commit ca488544e868665b337241d916b13b0a9e0af639 diff --git a/tun模式下的主机mihomo config.yaml b/tun模式下的主机mihomo config.yaml index 4823f5c..dcb4a76 100644 --- a/tun模式下的主机mihomo config.yaml +++ b/tun模式下的主机mihomo config.yaml @@ -302,6 +302,8 @@ rules: - DOMAIN-SUFFIX,canonical.com,国外 - DOMAIN-SUFFIX,okx.com,国外 - DOMAIN-SUFFIX,okxc.com,国外 + - DOMAIN-SUFFIX,services.googleapis.cn,国外 + - DOMAIN,connectivitycheck.gstatic.com,国外 - RULE-SET,Ads,Block - RULE-SET,Private_Domain,国内 - RULE-SET,Private_IP,国内,no-resolve diff --git a/xray-北京vps-config.json b/xray-北京vps-config.json index 4cd3f72..905927b 100644 --- a/xray-北京vps-config.json +++ b/xray-北京vps-config.json @@ -279,6 +279,28 @@ "port": 38660, "network": "tcp" } + }, + { + "tag": "external_win_rdp", + "listen": "0.0.0.0", + "port": 38664, + "protocol": "dokodemo-door", + "settings": { + "address": "127.0.0.1", + "port": 38664, + "network": "tcp" + } + }, + { + "tag": "external_spark_3080", + "listen": "0.0.0.0", + "port": 38665, + "protocol": "dokodemo-door", + "settings": { + "address": "127.0.0.1", + "port": 38665, + "network": "tcp" + } } ], "outbounds": [ @@ -419,6 +441,20 @@ ], "outboundTag": "portal" }, + { + "type": "field", + "inboundTag": [ + "external_win_rdp" + ], + "outboundTag": "portal" + }, + { + "type": "field", + "inboundTag": [ + "external_spark_3080" + ], + "outboundTag": "portal" + }, { "type": "field", "inboundTag": [ diff --git a/xray-旁路由-config.json b/xray-旁路由-config.json index 4ff3b13..3b25528 100644 --- a/xray-旁路由-config.json +++ b/xray-旁路由-config.json @@ -100,6 +100,20 @@ "redirect": "192.168.1.200:51413" } }, + { + "tag": "to_win_rdp", + "protocol": "freedom", + "settings": { + "redirect": "192.168.1.177:3389" + } + }, + { + "tag": "to_spark_3080", + "protocol": "freedom", + "settings": { + "redirect": "192.168.1.166:3080" + } + }, { "tag": "to_spark_ssh", "protocol": "freedom", @@ -319,6 +333,22 @@ "port": "38662", "outboundTag": "to_spark_38662" }, + { + "type": "field", + "inboundTag": [ + "bridge" + ], + "port": "38664", + "outboundTag": "to_win_rdp" + }, + { + "type": "field", + "inboundTag": [ + "bridge" + ], + "port": "38665", + "outboundTag": "to_spark_3080" + }, { "type": "field", "inboundTag": [ diff --git a/旁路由的mihomo config.yaml b/旁路由的mihomo config.yaml index 686923d..0064ab1 100644 --- a/旁路由的mihomo config.yaml +++ b/旁路由的mihomo config.yaml @@ -310,6 +310,8 @@ rules: - DOMAIN-SUFFIX,canonical.com,国外 - DOMAIN-SUFFIX,okx.com,国外 - DOMAIN-SUFFIX,okxc.com,国外 + - DOMAIN-SUFFIX,services.googleapis.cn,国外 + - DOMAIN,connectivitycheck.gstatic.com,国外 - RULE-SET,Ads,Block - RULE-SET,Private_Domain,国内 - RULE-SET,Private_IP,国内,no-resolve diff --git a/非tun模式下的主机mihomo config.yaml b/非tun模式下的主机mihomo config.yaml index b8d240a..67a5257 100644 --- a/非tun模式下的主机mihomo config.yaml +++ b/非tun模式下的主机mihomo config.yaml @@ -307,6 +307,8 @@ rules: - DOMAIN-SUFFIX,canonical.com,国外 - DOMAIN-SUFFIX,okx.com,国外 - DOMAIN-SUFFIX,okxc.com,国外 + - DOMAIN-SUFFIX,services.googleapis.cn,国外 + - DOMAIN,connectivitycheck.gstatic.com,国外 - RULE-SET,Ads,Block - RULE-SET,Private_Domain,国内 - RULE-SET,Private_IP,国内,no-resolve