FlClash Get FlClash

Proxy groups and rules

How nodes are grouped, how rules match, and why the rule you added does nothing.

Checked against FlClash 0.9.5

On this page
  1. What a proxy group is
  2. Low delay isn't high speed
  3. How rules match
  4. Add a rule of your own
  5. The rule has no effect
  6. Also asked

What a proxy group is

A group is a name with a list of nodes behind it. Rules point to the name, so changing nodes never means changing rules.

TypeHow it picks
selectWhichever you click
url-testTests regularly and uses the lowest delay
fallbackThe first that works, then the next
load-balanceSpreads connections over several nodes
Groups along the top, delays on the cards.
Proxy groups on the Dashboard, each with its current node.
Proxy groups on the Dashboard, each with its current node. Image: FlClash, GPL-3.0

Low delay isn't high speed

Delay measures a round trip; bandwidth is something else. Games care about delay, 4K video about bandwidth. A crowded node at 60 can be worse than a quiet one at 150.

How rules match

Top to bottom, stopping at the first match. So specific rules go first and MATCH is always last.

rules:
  - DOMAIN-SUFFIX,example.com,DIRECT
  - DOMAIN-KEYWORD,adservice,REJECT
  - PROCESS-NAME,steam.exe,DIRECT
  - IP-CIDR,192.168.0.0/16,DIRECT,no-resolve
  - GEOIP,CN,DIRECT
  - MATCH,PROXY
TypeMatches
DOMAINExactly this domain
DOMAIN-SUFFIXThe domain and all its subdomains
DOMAIN-KEYWORDDomains containing this word
IP-CIDRA range of IP addresses
GEOIPIPs of a country or region
PROCESS-NAMEConnections from a program, on desktop
MATCHAnything left over

no-resolve means: don't look up the IP of a domain just for this rule. It makes rules for local ranges faster.

Add a rule of your own

  1. Open the current profile's override and choose Add rule.
  2. Set the type, the value and where it goes.
  3. Save and reload the site.
  4. See which rule it matched on the Requests page.
Requests shows the exit and matched rule of every connection. Trust this.

The rule has no effect

Usually it's order: a rule from the subscription matched first, as discussed in 2251. Paste the rules into the Rule tester and see where it stops. Open connections don't move, so close the tab and reopen it.

Also asked

How do I keep one program off the proxy?

On desktop, PROCESS-NAME,program,DIRECT. On Android, App access control.

What's the difference between REJECT and DIRECT?

DIRECT connects without a proxy. REJECT doesn't connect at all, which is useful for ads and trackers.

Read next

On the same line

Key terms: FlClash proxy groups, FlClash auto select, Clash rules explained