Rule Keywords
PROXY / DIRECT / REJECT
PROXY sends traffic through a proxy, DIRECT connects directly, and REJECT denies the request. These are rule policies, not protocol names. A policy applies only to requests that match its rule. The blue, green, and orange dots are visual aids; rely on the policy text and actual connection records.
Rule Keywords
DOMAIN / DOMAIN-SUFFIX
DOMAIN matches a specific domain; DOMAIN-SUFFIX matches that domain and its subdomains, so the latter usually covers more. For example, DOMAIN-SUFFIX,example.com,PROXY can match the domain and its subdomains. This type of rule does not match URL paths; do not enter /login as a domain suffix.
Rule Keywords
DOMAIN-KEYWORD
DOMAIN-KEYWORD checks whether a domain contains a specified keyword, for example, DOMAIN-KEYWORD,example,PROXY. The keyword may appear in unrelated domains, making the rule broader than expected. To match only a domain and its subdomains, consider the more precisely scoped DOMAIN-SUFFIX instead.
Rule Keywords
IP-CIDR / IP-CIDR6
IP-CIDR and IP-CIDR6 match IPv4 and IPv6 address ranges, respectively. The prefix length after the slash defines the network range. For example, IP-CIDR,192.168.0.0/16,DIRECT describes an IPv4 address range, not a single server port. An IPv4 rule alone does not mean matching IPv6 requests will use the same policy.
Rule Keywords
GEOIP
GEOIP matches based on a region recorded in an IP geolocation database, for example, GEOIP,CN,DIRECT. A region is not the same as a website’s language, domain suffix, or the location of its operator. Resolution results and database contents can also change. To handle a specific domain precisely, consider placing a more specific domain rule above it.
Rule Keywords
FINAL
FINAL is the fallback used when none of the preceding rules match. A common form is FINAL,PROXY, usually placed at the end of the list. It does not reprocess requests already matched by an earlier rule. If the fallback policy is correct but traffic still takes the wrong route, check the preceding rules rather than repeatedly changing FINAL.