Rule keywords and policies
With Config selected, rules are checked from top to bottom, and the matching rule's policy is applied. Keywords determine what to match; policies determine how to handle it.
DOMAIN
DOMAIN matches an exact, complete domain name. For example, DOMAIN,example.com,DIRECT applies to example.com. It does not automatically include all subdomains, and it does not match URL paths.
Use this keyword to narrow a rule to a specific hostname. After making a change, check whether an earlier rule already matches first.
DOMAIN-SUFFIX
DOMAIN-SUFFIX matches a domain and its subdomains, such as example.com and www.example.com. It matches domain levels, not arbitrary strings containing the text, and does not include URL paths.
When subdomains need different policies, put the more specific rules first, followed by the suffix rule for the broader domain.
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 specifies an IPv4 network range. The prefix length after the slash determines the range; it is not a port number.
Adding IPv4 rules alone does not cover IPv6. Check the actual DNS results and connection records to see which address type the target uses.
GEOIP
GEOIP matches based on the IP geolocation database's location data, not a website's language, domain suffix, or company's registered address. A domain that uses multiple service addresses may produce different match results for different connections.
For consistent handling of a specific domain, consider a more specific domain rule instead of relying only on geolocation.
FINAL
FINAL is a catch-all rule placed at the end to handle traffic that has not matched an earlier rule, for example, FINAL,PROXY. It does not raise the priority of preceding rules; it specifies what happens to the remaining connections.
Place it at the end of the rules. If it appears too early, later specific rules cannot handle traffic already caught by it.
PROXY
PROXY is a rule policy that sends matching traffic through the proxy route. The connection still depends on the selected server and related settings. It differs in capitalization and scope from Proxy mode under Global Routing.
A rule specifying PROXY does not guarantee a successful connection. Authentication, server reachability, and DNS still need to be checked separately.
DIRECT
DIRECT means matching connections bypass the selected proxy server and reach the destination through the current network. It does not bypass DNS or guarantee that the destination is reachable.
DIRECT in a rule applies only to matching connections. Direct under Global Routing controls overall routing; distinguish the two when troubleshooting.
REJECT
REJECT actively rejects matching connections; it is not a proxy server timeout. If a page loads but some features are missing, check whether the relevant requests matched this policy.
When making changes, identify the specific domain and rule position, then narrow the match scope. Do not delete an entire configuration section before identifying the cause.