Rule keywords · Match conditions
DOMAIN-SUFFIX
Matches domain suffixes, including the specified domain and its subdomains. For example, DOMAIN-SUFFIX,example.com,PROXY can match example.com and api.example.com. It does not match arbitrary strings containing the text; a match uses the policy specified at the end of the rule.
Rule keywords · Match conditions
GEOIP
Matches based on the geographic region associated with an IP address, not a webpage's language or the domain suffix. The result depends on the address matched and the geographic database in use. A domain may resolve to multiple addresses, so its name alone cannot predict the result of every match.
Rule keywords · Match conditions
IP-CIDR
Matches IPv4 address ranges. The prefix length after the slash determines the range. For example, IP-CIDR,192.168.0.0/16,DIRECT applies DIRECT to that range. Broader ranges can cover more addresses, so check for effects on other destinations before making changes.
Rule keywords · Match conditions
IP-CIDR6
Matches IPv6 address ranges, a different address family from the one covered by IP-CIDR. Adding IPv4 subnet rules alone does not automatically cover IPv6 requests. If behavior differs for the same domain, check the actual connection address rather than only whether it matched an IPv4 rule.
Rule keywords · Final rule
FINAL
The final rule handles requests that did not match any preceding rules. For example, FINAL,PROXY sends remaining requests through PROXY. It is not a standalone “force proxy for all requests” switch; rules that matched earlier still determine how their requests are handled.
Rule keywords · Policies
PROXY
A rule policy keyword that sends traffic through a proxy, usually written at the end of a rule. The actual route also depends on the currently selected server and related settings. It is similar in name to the Proxy mode in Global Routing, but one is the result for an individual rule and the other is an overall routing mode.
Rule keywords · Policies
DIRECT
Connects directly to the destination without using a proxy server as the request's exit. DIRECT does not mean the request bypasses system networking, nor does it guarantee a particular DNS path. If the destination is unreachable, changing the rule to DIRECT will not restore the connection by itself.
Rule keywords · Policies
REJECT
Rejects requests matching the rule rather than retrying through another server. If a domain or app consistently fails to connect, check whether it is accidentally matching REJECT. When adjusting a rule, narrow its match and verify its order instead of deleting every related rule.
Rule keywords · Match conditions
DOMAIN
Matches an exact domain. For example, DOMAIN,api.example.com,PROXY applies only to the specified domain. It does not automatically match example.com or other subdomains. To cover a domain and its subdomains, first understand the scope of DOMAIN-SUFFIX, then choose the appropriate keyword.