Rule Keywords & Policies
DOMAIN
Matches one exact domain and does not automatically include all its subdomains. Use an exact rule when you need to handle a specific hostname and keep the match scope narrow. Enter the domain itself, without the URL scheme or path.
DOMAIN,example.com,PROXY
Rule Keywords & Policies
DOMAIN-SUFFIX
Matches a domain suffix, covering the specified domain and its subdomains. The example matches both example.com and its subdomains, but does not match arbitrary character sequences. If a subdomain needs different handling, put the more specific rule first.
DOMAIN-SUFFIX,example.com,PROXY
Rule Keywords & Policies
DOMAIN-KEYWORD
Checks whether a domain contains a specified keyword. This can match a much wider range than a suffix rule, and short or common keywords can catch unrelated domains. List the intended matches first; if you only need a domain and its subdomains, use a more precise condition.
DOMAIN-KEYWORD,example,PROXY
Rule Keywords & Policies
GEOIP
Uses an IP geolocation database to determine whether a destination address belongs to a specified region. This describes how the database classifies the destination IP—not the visitor's location or where the website operator is based. Changes to DNS results or the database can affect the match.
GEOIP,CN,DIRECT
Rule Keywords & Policies
IP-CIDR / IP-CIDR6
Used to match IPv4 and IPv6 address ranges. The number after the slash is the network prefix length, not a port. The IPv4 example covers a private address range; the IPv6 example covers the loopback address. The wider the range, the more carefully you should check its effect on other destinations.
IP-CIDR,192.168.0.0/16,DIRECT
IP-CIDR6,::1/128,DIRECT
Rule Keywords & Policies
FINAL
Sets the final policy for traffic that did not match any earlier rule, and is usually placed at the end of the rule list. It is a fallback for unmatched traffic, not an override for existing matches. If placed too early, it can prevent later specific rules from matching.
FINAL,PROXY
Rule Keywords & Policies
PROXY
A policy keyword in a rule that sends matching connections through a proxy. The server used depends on the current selection and policy references in the configuration. This is not the same setting as Proxy in Global Routing: the rule keyword determines the result for a specific rule, while Global Routing controls the overall mode.
Rule Keywords & Policies
DIRECT
Sends matching destination connections directly, without using the proxy specified by that rule. Success still depends on the local network, DNS results, and destination service. DIRECT in a rule only applies to matching traffic; it does not switch Global Routing to Direct.
Rule Keywords & Policies
REJECT
Rejects matching connections, which is useful for requests that should not be sent. An incorrect match scope may also block connections needed for sign-in, verification, or loading content. Keep a recoverable copy of the configuration before adding this type of rule, and check that related services still work afterward.
DOMAIN,example.com,REJECT