Rule Keywords
DOMAIN
A rule keyword for matching an exact domain. For example, DOMAIN,example.com,PROXY applies to that exact domain. It does not match www.example.com just because the suffix is the same, and it does not match webpage paths. For a single, specific hostname, consider an exact match to limit the effect on other domains.
Rule Keywords
DOMAIN-SUFFIX
Matches a domain by suffix, including its subdomains. For example, using example.com as the condition can cover that domain and its subdomains. A suffix here means a domain-name level, not any text that happens to appear at the end. If a site's resources use other domains, check those separately; one suffix rule does not necessarily cover every related request.
Rule Keywords
DOMAIN-KEYWORD
Matches domains that contain a specified string, usually covering more than an exact-domain or suffix rule. Unrelated domains containing the same keyword may also match, so confirm the intended scope before adding one. It checks the domain, not webpage text, search terms, or URL paths. For tighter control, first check whether a narrower condition is appropriate.
Rule Keywords
GEOIP
Matches based on an IP geolocation database, not a site's language, operator location, or page content. Database records may differ from the actual service location, and sites using a CDN may resolve to different addresses. When troubleshooting, consider the IP for that request and the rule order; do not assume a region based only on the site's name.
Rule Keywords
IP-CIDR / IP-CIDR6
Keywords for matching IPv4 and IPv6 address ranges. The prefix length after the slash determines the size of the subnet. Address rules match IP addresses, not domain text; if a domain resolves to a different address, the matched range may change. Check the address family and prefix length before adding a rule, so you do not match an entire subnet when you intended to match one address.
Rule Keywords
FINAL
A fallback keyword used when none of the preceding rules match. For example, FINAL,DIRECT sends remaining requests directly. Put FINAL at the end of the rule list so later, more specific rules can work as intended. Changing the fallback affects every request not covered above; confirm the scope before saving and testing.
Rule Keywords
PROXY / DIRECT / REJECT
Policy markers in rules that represent proxy, direct, and reject actions. They usually appear where the rule specifies what to do with a match. DOMAIN and similar keywords answer “what to match”; these markers answer “what happens next.” The policy field may also refer to a policy group defined in the configuration. Check the group name and its selected policy, not just the rule condition.
Rule Keywords
Rule Matching Order
Rules are generally checked from top to bottom, and later rules do not automatically override an earlier match. Put a precise exception before any broader rule that could match it, and leave FINAL at the end. If a rule looks correct but does not work, first check whether an earlier rule already matches before adding a duplicate.