From 55f9fcf9cdbdd5a849db70f3e871b519bf7abab1 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 2 Nov 2026 06:05:18 +0000 Subject: [PATCH 1/2] Add Tailscale direct rules and cloudproxy.app on the remaining clients Clash, Egern, and Surge 3 already carry these in the open provider PRs. Shadowrocket, Quantumult X, and sing-box keep their own copies and would still send Tailscale control-plane traffic to the proxy, or omit Google IAP. Co-authored-by: pickrui --- QuantumultX/Tail.conf | 8 ++++++++ Shadowrocket/Complete.conf | 6 ++++++ sing-box/1.11/Rule.conf | 14 ++++++++++++++ sing-box/1.12/Rule.conf | 14 ++++++++++++++ sing-box/1.13/Rule.conf | 14 ++++++++++++++ sing-box/1.14/Rule.conf | 14 ++++++++++++++ 6 files changed, 70 insertions(+) diff --git a/QuantumultX/Tail.conf b/QuantumultX/Tail.conf index 07461d6..b2b989f 100644 --- a/QuantumultX/Tail.conf +++ b/QuantumultX/Tail.conf @@ -185,6 +185,14 @@ ip6-cidr,2403:300:a42::/48,Apple Push,no-resolve ip6-cidr,2403:300:a51::/48,Apple Push,no-resolve ip6-cidr,2a01:b740:a42::/48,Apple Push,no-resolve +# Tailscale +host-suffix,tailscale.com,direct +host-suffix,tailscale.io,direct +host-suffix,ts.net,direct + +# Google IAP TCP forwarding +host-suffix,cloudproxy.app,Outside + final,Others [rewrite_remote] diff --git a/Shadowrocket/Complete.conf b/Shadowrocket/Complete.conf index de94ec7..227c0bd 100644 --- a/Shadowrocket/Complete.conf +++ b/Shadowrocket/Complete.conf @@ -598,6 +598,7 @@ DOMAIN-SUFFIX,chrome.com,PROXY DOMAIN-SUFFIX,chromeexperiments.com,PROXY DOMAIN-SUFFIX,chromestatus.com,PROXY DOMAIN-SUFFIX,chromium.org,PROXY +DOMAIN-SUFFIX,cloudproxy.app,PROXY DOMAIN-SUFFIX,creativelab5.com,PROXY DOMAIN-SUFFIX,debug.com,PROXY DOMAIN-SUFFIX,deepmind.com,PROXY @@ -796,6 +797,11 @@ DOMAIN-SUFFIX,vpnunlimited.com,PROXY DOMAIN-SUFFIX,whoer.net,PROXY DOMAIN-SUFFIX,whrq.net,PROXY +# Tailscale +DOMAIN-SUFFIX,tailscale.com,DIRECT +DOMAIN-SUFFIX,tailscale.io,DIRECT +DOMAIN-SUFFIX,ts.net,DIRECT + # LAN IP-CIDR,192.168.0.0/16,DIRECT IP-CIDR,10.0.0.0/8,DIRECT diff --git a/sing-box/1.11/Rule.conf b/sing-box/1.11/Rule.conf index 511b123..9b7b5ec 100644 --- a/sing-box/1.11/Rule.conf +++ b/sing-box/1.11/Rule.conf @@ -18,6 +18,20 @@ ], "action": "hijack-dns" }, + { + "process_name": [ + "tailscaled" + ], + "outbound": "Direct" + }, + { + "domain_suffix": [ + "tailscale.com", + "tailscale.io", + "ts.net" + ], + "outbound": "Direct" + }, { "ip_is_private": true, "ip_cidr": [ diff --git a/sing-box/1.12/Rule.conf b/sing-box/1.12/Rule.conf index 208172d..b998d71 100644 --- a/sing-box/1.12/Rule.conf +++ b/sing-box/1.12/Rule.conf @@ -18,6 +18,20 @@ ], "action": "hijack-dns" }, + { + "process_name": [ + "tailscaled" + ], + "outbound": "Direct" + }, + { + "domain_suffix": [ + "tailscale.com", + "tailscale.io", + "ts.net" + ], + "outbound": "Direct" + }, { "ip_is_private": true, "ip_cidr": [ diff --git a/sing-box/1.13/Rule.conf b/sing-box/1.13/Rule.conf index 208172d..b998d71 100644 --- a/sing-box/1.13/Rule.conf +++ b/sing-box/1.13/Rule.conf @@ -18,6 +18,20 @@ ], "action": "hijack-dns" }, + { + "process_name": [ + "tailscaled" + ], + "outbound": "Direct" + }, + { + "domain_suffix": [ + "tailscale.com", + "tailscale.io", + "ts.net" + ], + "outbound": "Direct" + }, { "ip_is_private": true, "ip_cidr": [ diff --git a/sing-box/1.14/Rule.conf b/sing-box/1.14/Rule.conf index e74456e..0a637de 100644 --- a/sing-box/1.14/Rule.conf +++ b/sing-box/1.14/Rule.conf @@ -18,6 +18,20 @@ ], "action": "hijack-dns" }, + { + "process_name": [ + "tailscaled" + ], + "outbound": "Direct" + }, + { + "domain_suffix": [ + "tailscale.com", + "tailscale.io", + "ts.net" + ], + "outbound": "Direct" + }, { "ip_is_private": true, "ip_cidr": [ From 7bbd795d91e6c2b2e962212642dd2b717b76fe38 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 2 Nov 2026 06:18:56 +0000 Subject: [PATCH 2/2] Add the Windows tailscaled.exe process rule to Tailscale direct rules Clash and Surge already match tailscaled from the merged Tailscale rules. The Windows service name is tailscaled.exe, so list it beside that rule. sing-box gets the same process name on its direct rule. Co-authored-by: pickrui --- Clash/Provider/Special.yaml | 1 + Surge/Surge 3/Provider/Special.list | 1 + sing-box/1.11/Rule.conf | 3 ++- sing-box/1.12/Rule.conf | 3 ++- sing-box/1.13/Rule.conf | 3 ++- sing-box/1.14/Rule.conf | 3 ++- 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Clash/Provider/Special.yaml b/Clash/Provider/Special.yaml index 87c9037..2856edc 100644 --- a/Clash/Provider/Special.yaml +++ b/Clash/Provider/Special.yaml @@ -127,6 +127,7 @@ payload: # > Tailscale - PROCESS-NAME,tailscaled + - PROCESS-NAME,tailscaled.exe - DOMAIN-SUFFIX,tailscale.com - DOMAIN-SUFFIX,tailscale.io - DOMAIN-SUFFIX,ts.net diff --git a/Surge/Surge 3/Provider/Special.list b/Surge/Surge 3/Provider/Special.list index 5ca82f8..9c14068 100644 --- a/Surge/Surge 3/Provider/Special.list +++ b/Surge/Surge 3/Provider/Special.list @@ -116,6 +116,7 @@ USER-AGENT,Steam* # > Tailscale PROCESS-NAME,tailscaled +PROCESS-NAME,tailscaled.exe DOMAIN-SUFFIX,tailscale.com DOMAIN-SUFFIX,tailscale.io DOMAIN-SUFFIX,ts.net diff --git a/sing-box/1.11/Rule.conf b/sing-box/1.11/Rule.conf index 9b7b5ec..e219cab 100644 --- a/sing-box/1.11/Rule.conf +++ b/sing-box/1.11/Rule.conf @@ -20,7 +20,8 @@ }, { "process_name": [ - "tailscaled" + "tailscaled", + "tailscaled.exe" ], "outbound": "Direct" }, diff --git a/sing-box/1.12/Rule.conf b/sing-box/1.12/Rule.conf index b998d71..bff6a62 100644 --- a/sing-box/1.12/Rule.conf +++ b/sing-box/1.12/Rule.conf @@ -20,7 +20,8 @@ }, { "process_name": [ - "tailscaled" + "tailscaled", + "tailscaled.exe" ], "outbound": "Direct" }, diff --git a/sing-box/1.13/Rule.conf b/sing-box/1.13/Rule.conf index b998d71..bff6a62 100644 --- a/sing-box/1.13/Rule.conf +++ b/sing-box/1.13/Rule.conf @@ -20,7 +20,8 @@ }, { "process_name": [ - "tailscaled" + "tailscaled", + "tailscaled.exe" ], "outbound": "Direct" }, diff --git a/sing-box/1.14/Rule.conf b/sing-box/1.14/Rule.conf index 0a637de..6317405 100644 --- a/sing-box/1.14/Rule.conf +++ b/sing-box/1.14/Rule.conf @@ -20,7 +20,8 @@ }, { "process_name": [ - "tailscaled" + "tailscaled", + "tailscaled.exe" ], "outbound": "Direct" },