ไธชไบบไปฃ็ๅทฅๅ ท้ ็ฝฎๆไปถ้ๅ
Features โข Clash โข Surge โข Providers โข Sources
๐จ๐ณ ็ฎไฝไธญๆ | ๐บ๐ธ English
- ๐ High Performance - Optimized configurations for maximum speed
- ๐ฏ Smart Routing - Intelligent traffic splitting and regional selection
- ๐ก๏ธ Privacy Protection - Built-in ad blocking and tracker prevention
- ๐ Global Streaming - Netflix, Disney+, YouTube, TikTok unlock support
- ๐ค AI Services - Dedicated routing for ChatGPT, Claude, Gemini
- ๐ฑ Cross-Platform - Support for Clash, Surge, Stash, and more
- โก Auto Failover - Automatic URL testing for optimal node selection
- ๐ Easy Updates - Integrated subscription management
Self-Configuration/
โโโ Clash.yaml # Clash / Clash Meta configuration
โโโ Surge.conf # Surge configuration
โโโ README.md # English documentation
โโโ README_CN.md # ไธญๆๆๆกฃ
Compatible Clients:
ClashยทClash for WindowsยทClash MetaยทStashยทFlClash
| Setting | Value | Description |
|---|---|---|
| Mixed Port | 7890 |
Shared HTTP/SOCKS5 port |
| Controller | 9090 |
Web dashboard port |
| Mode | Rule |
Rule-based routing mode |
| Allow LAN | true |
Allow LAN connections |
| IPv6 | true |
IPv6 support enabled |
| Enhanced Mode | Fake-IP |
Enhanced performance mode |
| Type | Server | Provider |
|---|---|---|
| DoT | tls://223.5.5.5:853 |
Alibaba DNS |
| DoT | tls://223.6.6.6:853 |
Alibaba DNS |
| DoH | https://doh.pub/dns-query |
DNSPod |
| DoH | https://dns.alidns.com/dns-query |
Alibaba DNS |
| Group | Type | Description |
|---|---|---|
| ่็น้ๆฉ | select |
Main entry point for policy selection |
| ๆๅจๅๆข | select |
Manual node selection |
| ่ชๅจ้ๆฉ | url-test |
Auto-select lowest latency node |
| Group | Filter Pattern | Region |
|---|---|---|
| ๐ญ๐ฐ Hong Kong | ๆธฏ|HK|Hong Kong |
Hong Kong SAR |
| ๐ฏ๐ต Japan | ๆฅ|JP|Japan |
Japan |
| ๐บ๐ธ United States | ็พ|US|United States |
USA |
| ๐ธ๐ฌ Singapore | ๆฐ|SG|Singapore |
Singapore |
| ๐น๐ผ Taiwan | ๅฐ|TW|Taiwan |
Taiwan |
| ๐ฐ๐ท Korea | ้ฉ|KR|Korea |
South Korea |
| ๐ฌ๐ง United Kingdom | ่ฑ|UK|United Kingdom |
UK |
| ๐ฉ๐ช Germany | ๅพท|DE|Germany |
Germany |
| ๐ซ๐ท France | ๆณ|FR|France |
France |
| ๐ Other Regions | Exclude above | Other regions |
| Group | Default | Purpose |
|---|---|---|
| ๐ค AIๆๅก | Proxy | ChatGPT, Claude, Gemini |
| ๐น YouTube | Proxy | YouTube videos |
| ๐ ่ฐทๆญๆๅก | Proxy | Google Search, Maps |
| ๐ง Google FCM | Proxy | Push notifications |
| Proxy | Messaging service | |
| ๐ Appleๆๅก | DIRECT | Apple services |
| DIRECT | Microsoft services | |
| ๐ ๅฝๅคๅชไฝ | Proxy | Netflix, Disney+, etc. |
| ๐ฏ ๅฝๅ ๆต้ | DIRECT | Mainland China sites |
| ๐ซง WeChat | DIRECT | WeChat messaging |
| ๐ซ ๅนฟๅๆฆๆช | REJECT | Ad blocking |
1. ๐ซ Ad Blocking โ REJECT
2. โก Special Rules โ DIRECT
3. ๐ค AI Services โ Proxy
4. ๐ฌ Streaming โ Proxy
5. ๐บ CN Media โ DIRECT
6. ๐ฌ Messaging โ Proxy
7. ๐ง Tech Services โ Auto
8. ๐ฐ Cryptocurrency โ Proxy
9. ๐ฎ Gaming โ Auto
10. ๐จ๐ณ CN Rules โ DIRECT
11. ๐ GeoIP CN โ DIRECT
12. ๐ Final Rule โ Proxy
Download Clash.yaml and import it to your client.
Replace the subscription URL in the configuration:
proxy-providers:
all-proxies:
type: http
url: "https://your-subscription-url"
interval: 3600
path: ./providers/all-proxies.yaml
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204Enable the configuration and select your preferred nodes.
When you have multiple subscription sources, you can integrate them as follows:
proxy-providers:
provider-1:
type: http
url: "https://subscription-1.com"
interval: 3600
path: ./providers/provider-1.yaml
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204
provider-2:
type: http
url: "https://subscription-2.com"
interval: 3600
path: ./providers/provider-2.yaml
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204proxy-groups:
# Auto-select fastest node from all providers
- name: "Auto"
type: url-test
use:
- provider-1
- provider-2
url: http://www.gstatic.com/generate_204
interval: 300
# Manual selection from all providers
- name: "Manual"
type: select
use:
- provider-1
- provider-2
# Regional groups with filter
- name: "Hong Kong"
type: url-test
use:
- provider-1
- provider-2
filter: "ๆธฏ|HK|Hong Kong"
url: http://www.gstatic.com/generate_204
interval: 300proxy-groups:
- name: "Load-Balance"
type: load-balance
use:
- provider-1
- provider-2
strategy: consistent-hashing # or round-robin
url: http://www.gstatic.com/generate_204| Parameter | Description |
|---|---|
use |
Specify which proxy providers to use |
filter |
Filter nodes by name (supports regex) |
url-test |
Auto-test latency and select fastest |
load-balance |
Distribute traffic across nodes |
select |
Manual selection mode |
๐ก Tip: Follow these practices for optimal performance
- Regional Grouping - Use
filterto group nodes by region - Smart Selection - Use
url-testfor automatic optimal node selection - Regular Updates - Set appropriate
intervalfor subscription updates - Health Check - Enable
health-checkto filter unavailable nodes - Backup Sources - Configure multiple subscriptions for higher availability
Compatible Clients:
Surge for iOSยทSurge for macOS
| Setting | Value | Description |
|---|---|---|
| HTTP Port | 6152 |
Wi-Fi sharing port |
| SOCKS5 Port | 6153 |
Wi-Fi sharing port |
| Controller | 6160 |
API control port |
| Dashboard | 6166 |
Web dashboard port |
| IPv6 | false |
Disabled by default |
| Type | Server | Provider |
|---|---|---|
| System DNS | 223.5.5.5, 223.6.6.6, 119.29.29.29 |
China DNS |
| DoH | https://doh.pub/dns-query |
DNSPod |
| DoH | https://dns.alidns.com/dns-query |
Alibaba DNS |
| Hijack | 8.8.8.8:53, 8.8.4.4:53 |
Google DNS |
| Group | Type | Description |
|---|---|---|
| NoAuto | select |
Main entry point |
| Automatic | select |
Regional selection |
| AllServer | select |
All subscription nodes |
| Proxy | select |
Proxy policy |
| Group | Filter Pattern | Interval |
|---|---|---|
| Hong Kong | ๆธฏ|๐ญ๐ฐ|้ฆๆธฏ|HK|Hong |
300s |
| Taiwan | ๅฐ|๐น๐ผ|ๅฐๆนพ|TW|Tai |
300s |
| Japan | ๆฅ|๐ฏ๐ต|ๆฅๆฌ|JP|Japan |
300s |
| Singapore | ๅก|๐ธ๐ฌ|ๆฐๅ ๅก|็ฎๅ|SG |
300s |
| United States | ็พ|๐บ๐ธ|็พๅฝ|US|States |
300s |
| United Kingdom | ๐ฌ๐ง|่ฑๅฝ|UK |
300s |
| Korea | ้ฉ|้ฉๅฝ|Korea|KR|๐ฐ๐ท |
300s |
| Other | Exclude above | 300s |
| Group | Default | Purpose |
|---|---|---|
| AI | Automatic | ChatGPT, Claude, Gemini, Bing |
| YouTube | Automatic | YouTube videos |
| Netflix | Hong Kong | Netflix streaming |
| Disney+ | Hong Kong | Disney+ streaming |
| TikTok | Taiwan | TikTok unlock |
| Telegram | Automatic | Messaging |
| X | Automatic | Twitter/X |
| Microsoft | Mainland | Microsoft services |
| OneDrive | Mainland | Cloud storage |
| Apple | Mainland | Apple services |
| Mainland | ||
| Bilibili | Mainland | Bilibili (HK/TW unlock) |
| Speedtest | Mainland | Speed test |
1. ๐ง Unbreak Rules โ DIRECT
2. โ๏ธ Manual Rules โ Custom
3. ๐ซ Ad Blocking โ REJECT
4. ๐ Privacy โ REJECT
5. ๐ฑ CN Apps โ DIRECT
6. ๐ Apple Services โ DIRECT
7. ๐ค AI Services โ Automatic
8. ๐ฌ Streaming โ Regional
9. ๐ Regional Unlock โ Regional
10. ๐ฌ Social Media โ Automatic
11. ๐ง Other Global โ Auto
12. ๐จ๐ณ CN Rules โ DIRECT
13. ๐ Global Rules โ Auto
14. ๐ LAN โ DIRECT
15. ๐ฏ Final Rule โ NoAuto
| Original | Target | Type |
|---|---|---|
google.cn |
google.com |
302 Redirect |
maps.google.cn |
maps.google.com |
302 Redirect |
taobao.com |
HTTPS | Force upgrade |
jd.com |
HTTPS | Force upgrade |
| Service | DNS Server | Description |
|---|---|---|
| Taobao/Tmall/Alipay | 223.5.5.5 |
Alibaba services |
| JD/QQ/WeChat | 119.28.28.28 |
Tencent services |
| Bilibili/NetEase | 119.29.29.29 |
Entertainment |
| Router Admin | System DNS | Local devices |
Download Surge.conf and import it to Surge.
AllServer = select, ..., policy-path=https://your-subscription-url
Install and trust the MITM certificate for URL rewrite functionality.
Enable the configuration in Surge.
| Source | Description | Provider |
|---|---|---|
| [dler-io/Rules] | Main Clash ruleset | @dler-io |
| [blackmatrix7] | Cross-platform rules | @blackmatrix7 |
| [SukkaW/Surge] | SKK ruleset | @SukkaW |
| [VirgilClyne] | ASN rules | @VirgilClyne |
| [Semporia] | TikTok unlock | @Semporia |
| Item | Description |
|---|---|
| ๐ Subscription | Must replace with your own subscription URL |
| ๐ Rule Update | Rules auto-update every 7 days |
| โฑ๏ธ Speed Test | 300s interval, 3s timeout |
| ๐ MITM Certificate | Required for Surge URL rewrite |
| ๐ Node Filter | Auto-filter nodes with "traffic/reset/expire" keywords |
This project is licensed under the MIT License.
Made with โค๏ธ for a better internet experience