Rule Keywords
DOMAIN
DOMAIN matches an exact domain name. For example, DOMAIN,example.com,DIRECT applies to example.com itself. It does not match a full webpage URL; the path and query parameters are not part of the domain. To include subdomains, understand the scope of DOMAIN-SUFFIX rather than adding a wildcard arbitrarily.
Rule Keywords
DOMAIN-SUFFIX
DOMAIN-SUFFIX matches a domain suffix. DOMAIN-SUFFIX,example.com,PROXY can match example.com and its subdomains. This is useful for applying a policy across a domain family, but it does not automatically cover related resources hosted on other domains. After making a change, check which rules match both the main page and its external resources.
Rule Keywords
DOMAIN-KEYWORD
DOMAIN-KEYWORD matches a string found in a domain name, usually more broadly than DOMAIN or DOMAIN-SUFFIX. The same string may appear in unrelated domains, causing matches beyond what you intended. If you know the exact domain, consider a more precise match first.
Rule Keywords
IP-CIDR / IP-CIDR6
IP-CIDR and IP-CIDR6 match IPv4 and IPv6 address ranges, respectively. For example, IP-CIDR,192.168.0.0/16,DIRECT. The number after the slash is the network prefix length, not a port number. When the destination is a domain name, address matching may also involve DNS resolution, so a domain rule alone does not determine the final result.
Rule Keywords
GEOIP
GEOIP matches regional classifications in an IP address database; it does not identify a webpage's language, a visitor's location, or who operates a website. Content delivery and changes to IP addresses can make classifications differ from expectations. To handle a specific site precisely, check its actual destination address alongside its domain rules.
Rule Keywords
FINAL
FINAL is the fallback used when no preceding rule matches and should be placed at the end of the rule list. For example, FINAL,DIRECT sends all remaining traffic to DIRECT. If FINAL appears before specific rules that need to be evaluated, those later rules cannot work as intended.
Rule Policies
PROXY / DIRECT / REJECT
These uppercase keywords are rule policies: PROXY routes traffic through a proxy, DIRECT connects directly, and REJECT blocks the request. They are not the same layer as the Proxy and Direct modes in Global Routing. When troubleshooting, check the overall mode first, then the policy of the matched rule; changing only one may not resolve the issue.