Rule Keywords
Rule
A Rule is a configuration entry that matches connections and specifies how to handle them. Rules are generally checked in order, so an earlier match can affect the result. After adding rules to a file, select that file and make sure the active mode uses its configuration. If traffic is routed unexpectedly, check which rule actually matched—not just whether the rule you expected is present.
Rule Keywords
DOMAIN
DOMAIN matches an exact full domain name. For example, DOMAIN,example.com,DIRECT matches example.com. It does not automatically cover subdomains such as www.example.com just because they share the same main domain. Enter a domain as the match value; do not include the URL scheme, path, or query parameters.
Rule Keywords
DOMAIN-SUFFIX
DOMAIN-SUFFIX matches a domain suffix. For example, DOMAIN-SUFFIX,example.com,PROXY covers example.com and its subdomains. Use it to handle a domain and its subdomains together; it cannot distinguish pages by URL path. Check the scope before adding the rule so a need limited to one host does not affect the entire domain.
Rule Keywords
DOMAIN-KEYWORD
DOMAIN-KEYWORD checks whether a domain contains the specified keyword. It usually covers more than a specific domain suffix, so the keyword may match unrelated domains. Use it only when matching a domain fragment is necessary, and check connection logs to see what actually matched.
Rule Keywords
IP-CIDR / IP-CIDR6
IP-CIDR matches IPv4 address ranges; IP-CIDR6 matches IPv6 ranges. The prefix length after the slash determines the size of the range. For example, IP-CIDR,192.168.0.0/16,DIRECT describes a private address range, not a single domain. Domain and IP rules operate at different matching levels, so check the destination’s resolved address and the rule order when troubleshooting.
Rule Keywords
GEOIP
GEOIP matches using an IP geolocation database. The result depends on the destination IP and the database in use. It does not identify webpage language, a domain suffix, or the user’s location, and the database may differ from the service’s actual deployment. For distributed services, check the actual connection address rather than inferring the match from the site name.
Rule Keywords
FINAL
FINAL is the fallback rule used when no earlier rule matches, and is usually placed at the end of the list. For example, FINAL,PROXY. It does not override connections matched by earlier entries. Before changing it, decide how unmatched connections should be handled; changing the fallback is not a universal fix for all traffic.
Rule Policies
PROXY / DIRECT / REJECT
PROXY sends a matched connection through a proxy, DIRECT connects without a proxy, and REJECT blocks the connection. These uppercase rule policies are different from the Proxy and Direct modes in Global Routing. A PROXY match does not mean the server is available, and a DIRECT match does not guarantee the destination is reachable. If REJECT matches, first check that blocking the connection is intended by the configuration.