From 55f9fcf9cdbdd5a849db70f3e871b519bf7abab1 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 2 Nov 2026 06:05:18 +0000 Subject: [PATCH] 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": [