Match conditions
DOMAIN matches a request by its full domain name, making it suitable for applying a policy to one specific hostname. Matching example.com does not automatically match all its subdomains. Do not include a protocol prefix or web path in a rule domain; those are parts of a URL, not the domain name.
DOMAIN,example.com,PROXY
Match conditions
DOMAIN-SUFFIX matches by domain suffix and can include both the root domain and its subdomains, making it useful for applying one policy across a domain hierarchy. It does not match arbitrary strings that merely contain the suffix. For a single host, use a more precise condition where possible, and place specific rules before broader rules that could override them.
DOMAIN-SUFFIX,example.com,PROXY
Match conditions
GEOIP matches a destination using regional labels in an IP geolocation database; it does not use the website’s language or the user’s location. Database classifications may differ from where a service is actually hosted, and different DNS results can produce different matches. When troubleshooting, note the destination IP and database information rather than relying on assumptions based on the domain name.
Match conditions
IP-CIDR matches IPv4 address ranges using CIDR notation. For example, 192.168.0.0/16 represents a range of private addresses. The number after the slash is the prefix length, not a port. Use IP-CIDR6 for IPv6 ranges. Check the address family and range to avoid extending a targeted change to unrelated destinations.
IP-CIDR,192.168.0.0/16,DIRECT
Fallback condition
FINAL sets the action for requests that do not match any preceding rules and is usually placed at the end of the rule list. It does not add another connection; it determines how remaining requests are handled. Changing FINAL can affect many requests. Identify which destinations need specific rules before changing the fallback, then verify the results with actual requests.
FINAL,PROXY
Policy actions
PROXY is a rule action that sends a matched request through a proxy, usually specified after the match condition. It belongs to the rule layer, while Proxy in Global Routing sets the overall routing mode. A usable proxy must still be selected when a request matches PROXY. The rule does not provide service access or restore a failed server connection.
Policy actions
DIRECT means that a matched request accesses its destination over the local network, without using the selected remote proxy server. It determines the route but does not guarantee that the destination is reachable. You can create rules for local network destinations based on their actual subnet, but check the subnet range first to avoid changing how unrelated requests are handled.
Policy actions
REJECT blocks matching requests and is suitable for destinations you explicitly want to prevent access to. If some app features suddenly stop working, check whether an overly broad reject rule is matching their requests. Narrow the match and note the results as you troubleshoot; do not mistake a rejected request for server latency or a DNS failure.