Design for Surge / Quantumult (X) / Shadowrocket / clash (Premium) .
Maintained by Hackl0us .
This item is written, collected and organized by @Hackl0us, and is suitable for rules or practical rules fragments of Surge / Quantumult / Shadowrocket / Surfboard / clashX . Pursuing the most streamlined, practical and most efficient rules for the tool, bringing the smoothest user experience to users.
Rule use
About the project
Support projects
For specific usage methods of lazy rules, please refer to the project wiki. Except for the lazy rule, practical rules all exist in fragments. You can modify the rules correctly according to the configuration reference manual provided by the tool official (or unofficial) strictly in accordance with the syntax requirements. The strength of the rules is not about the number of entries, but about the number of entries and the quality. The more rules are piled up, the higher the RAM usage and the lower the efficiency of the tool operation. Too many rules can even cause the tool to crash directly (especially jailbreaking devices), seriously affecting the user experience.
| tool | Applicable platform | Lazy rules | Configuration Reference Manual | Selling price |
|---|---|---|---|---|
| Surge | iOS / ⬛️iPadOS / macOS | Surge 3.conf | official | $49.99 - $99.99 |
| Quantumult X | iOS / ⬛️iPadOS | QuantumultX.conf | Official (configuration file) | $7.99 |
| Shadowrocket | iOS / ⬛️iPadOS | Shadowrocket.conf | Not provided | $2.99 |
| clash | ? Multiple | clash.yaml | official | Free,? Open source |
| clash Premium | ? Multiple | clash_Premium.yaml | Official (Premium function) | Free, ⭕️ Closed Source |
| Clash for Windows | ? Windows | Reference clash Premium | official | Free, ⭕️ Closed Source |
| Clash X | macOS | Reference clash | Reference clash | Free,? Open source |
| Clash X Pro | macOS (Intel) | Reference clash Premium | Reference clash Premium | Free, ⭕️ Closed Source |
| Clash X Pro - Apple Silicon | macOS (Apple M1) | Reference clash Premium | Reference clash Premium | Free, ⭕️ Closed Source |
| Clash for Android | ?️ Android | Reference clash Premium | Reference clash Premium | Free, ⭕️ Closed Source |
| OpenClash | ? OpenWRT | Reference clash Premium | Reference clash Premium | Free, ⭕️ Closed Source |
The following tool developers have not updated or stopped updating for a long time, and the support for new protocols, new features and new systems are not very good, so the project considers stopping the update support. Stop updating supported configuration files can be found in归档folder.
In addition to the iOS platform, many platforms have tools derived from open source clash projects. The author of the clash project has expanded and developed more practical functions in the later stage, such as TUN, proxy sets, rule sets, scripts, etc., and has gradually developed into clash Premium. However, the additional functions provided by clash Premium are not open source and are closed source projects.
Other developers have developed and implemented graphical proxy tools that can run on different platforms based on these two versions of clash. Tools developed based on clash, because of factors such as open source protocol restrictions, are both open source projects, and only implement the basic proxy functions that clash has, such as Clash X.
Tools developed based on clash Premium are mostly closed-source projects, but they will have more and more practical functions. For example, Clash X Pro and Clash for Windows have an enhanced mode similar to Surge, which can take over all traffic through TUN/TAP; you can subscribe to proxy sets, rule sets, etc. to avoid repeated updates and replacement of long-term configuration files in the future, once and for all, etc.
You can choose the clash derivative tool that suits you according to your needs.
For tools that are not convenient to replace configuration files globally or do not support rule sets, you can integrate custom rules into lazy rules through捷径for easy updates.
| tool | Download address |
|---|---|
| Surge | shortcut |
| Quantumult | shortcut |
| Shadowrocket | shortcut |
This project will not have rules for web ad blocking, for the following reasons:
To sum up, it is recommended that you use the ad blocking plug-in, which is much better than configuring blocking ads on the tool:
Windows/macOS global filtering:
iOS/iPadOS terminal Safari:
Browser Safari/Chrome/Firefox/Edge (Chromium) etc.:
Soft/hard routing terminal:
This project needs to be maintained and updated regularly to ensure the stability and practicality of the rules. Please supplement and improve the project directly through Github 's Pull Request or submit Issue . If the rules are right, I will do a global adaptation.
126.net cannot be accessed directly through the browser. However, in the process of using NetEase Cloud Music , it can be found that this domain name is actually used to buffer music by catching packets. During the maintenance process, we should make good use of package grabbing tools, search engines and other methods to comprehensively determine whether the domain name is valid.USER-AGENT strategy for it to save rule entries, such as滴滴出行App.Telegram 群组below through the link.❤️ Maintaining this rule takes a lot of thought and time. Every line of rules you use and every configuration file translation you read is the result of my repeated consideration, so that everyone can have a set of easy-to-use and easy-to-understand rules.
If you like my rules and want the project to continue to be maintained, you can contribute through the following methods.
Everyone’s support is my motivation ~ I will also use the donated money to give my two children? Ugly oranges? and ⚡️ Volt?⬛ Buy canned fish