Rule Keywords & Policies / 15
Rule
A rule combines a match condition with an action to specify how particular connections are handled. For example, a matching domain can be sent to PROXY, DIRECT, or REJECT. When troubleshooting, check both the rule order and Global Routing; seeing a domain in the file does not prove that the rule will apply.
Rule Keywords & Policies / 16
DOMAIN
DOMAIN matches an exact domain, making it useful for handling a specific hostname on its own. DOMAIN,example.com,DIRECT does not also cover www.example.com. Enter the domain itself, without the URL scheme or page path.
Rule Keywords & Policies / 17
DOMAIN-SUFFIX
DOMAIN-SUFFIX matches a domain suffix and can cover the specified domain and its subdomains. For example, DOMAIN-SUFFIX,example.com,PROXY sends matching connections in that domain range through a proxy. It matches domain boundaries; it does not search for a string anywhere in a URL.
Rule Keywords & Policies / 18
GEOIP
GEOIP matches a destination IP address against an IP geolocation database. Database location does not indicate a page's language, domain suffix, or where the site's operator is based. Results may also change as the database is updated. When combining GEOIP with domain rules, consider rule order and the actual destination IP after resolution.
Rule Keywords & Policies / 19
IP-CIDR / IP-CIDR6
IP-CIDR matches IPv4 ranges, and IP-CIDR6 matches IPv6 ranges. The prefix length after the slash determines the range. The example IP-CIDR,192.168.0.0/16,DIRECT sends the specified local address range directly. Do not assume an IPv6 connection will match if only an IPv4 condition is configured.
Rule Keywords & Policies / 20
FINAL
FINAL handles connections that have not matched an earlier rule and is usually placed at the end of the Rule section as a fallback. For example, FINAL,DIRECT sends remaining connections directly. If it appears earlier, later rules may never be checked, so review the order of the entire section after making changes.
Rule Keywords & Policies / 21
PROXY / DIRECT
PROXY sends matching connections through a proxy; DIRECT connects to the destination directly. These uppercase policy identifiers are distinct from Proxy and Direct in Global Routing: the former apply to individual rules, while the latter set the overall routing mode. DIRECT does not mean the app has stopped running.
Rule Keywords & Policies / 22
REJECT
REJECT blocks connections that match the rule; it does not inspect page content. If a domain serves several functions, an overly broad condition may also break sign-ins, images, or other normal requests. Test the intended behavior after adding a rule, and narrow the condition or revert the change if it blocks too much.