Why sorting helps
Hiddify's rule editor splits match conditions into many fields: domain, domain suffix, domain keyword, destination IP CIDR, destination ports… each one value per line. But the lists we have usually come from chats or web pages: full URLs, wildcards like *.example.com, IP ranges, and port numbers mixed in. Picking them out by hand makes it easy to use the wrong field.

How the tool sorts
| Input | Field | Handling |
|---|---|---|
https://news.example.com/a/b | Domain suffix | Strips the protocol and path, leaves news.example.com |
*.example.org | Domain suffix | Removes *. |
.ir | Domain suffix | Kept as is |
example.com (suffix box unticked) | Domain | Matches only itself |
10.0.0.0/8, 8.8.8.8 | Destination IP CIDR | Format checked |
443, 8000-9000 | Destination ports | Ranges written as 8000:9000 |
With “Put plain domains under Domain suffix” ticked, www. is removed, because a suffix already covers every subdomain. Items already covered by a shorter suffix (a.example.com when example.com is present) are dropped.
Which outbound
| Outbound | Suits |
|---|---|
| Proxy | Sites that would go direct but you want through the proxy |
| Direct | Local sites, company intranets, local services |
| Direct with fragment | Sites blocked only by name whose IP is not blocked |
| Block | Ads, trackers, addresses your devices should not reach |
- Settings → Routing → Add ruleName it, for example “Office network”
- Outbound if matchPick the same one as in the tool
- Paste block by blockDomain suffixes into Domain suffix, IPs into Destination IP CIDR
- Save and reconnectTry one site from the list
Why no keywords or regex?
They catch too much: the keyword cn matches every domain containing those two letters. Enter them carefully in the rule editor yourself if you need them.
Do many rules slow things down?
A few hundred are barely noticeable. For lists of thousands, a rule set (a remote .srs file) is a better fit.