16 / Exact domain
DOMAIN
DOMAIN matches an exact domain and does not automatically include its subdomains. For example, DOMAIN,example.com,PROXY matches example.com; do not assume it also matches api.example.com. To cover an entire domain suffix, check the matching scope of DOMAIN-SUFFIX before choosing a rule.
17 / Domain suffix
DOMAIN-SUFFIX
DOMAIN-SUFFIX matches a specified domain and its subdomains, making it suitable for requests under the same domain suffix. DOMAIN-SUFFIX,example.com,PROXY can match both example.com and api.example.com. If a subdomain needs a different policy, put its more specific rule before this broader rule.
18 / Domain keyword
DOMAIN-KEYWORD
DOMAIN-KEYWORD matches a keyword in a domain; it does not match a specific complete domain suffix. A keyword that is too short or common may match domains you did not intend to include. Consider its scope before adding the rule and check matches against actual requests to prevent a broad rule from deciding the policy too early.
19 / IP geolocation
GEOIP
GEOIP matches a destination address using IP geolocation data, for example, GEOIP,CN,DIRECT. This classification relies on an address database; it does not directly identify webpage content, domain suffix, or actual service location. Also consider the address returned by DNS and whether an earlier domain rule has already matched.
20 / IPv4 subnet
IP-CIDR
IP-CIDR matches a specified IPv4 subnet. The number after the slash indicates the network prefix length. IP-CIDR,192.168.0.0/16,DIRECT applies a direct policy to that address range. A broader subnet covers more destinations. Confirm the target range before writing the rule, then choose its position in the list.
21 / IPv6 subnet
IP-CIDR6
IP-CIDR6 matches IPv6 subnets and is written separately from the IPv4 IP-CIDR rule. For example, IP-CIDR6,2001:db8::/32,DIRECT demonstrates the syntax using a documentation address. IPv4 rules alone do not mean IPv6 requests use the same policy; check the addresses actually returned.
22 / Request field
USER-AGENT
USER-AGENT matches the User-Agent field when it can be read from a request; it does not automatically identify all traffic by app name. Relevant fields in encrypted requests are not always directly readable, so do not assume this rule applies to every request. Before adding it, confirm the app can access the required field and that the matching condition is appropriate.
23 / Final fallback
FINAL
FINAL handles requests that did not match any earlier rules and is usually placed at the end of the Rule section. It does not require a domain or subnet match value. Common forms include FINAL,PROXY and FINAL,DIRECT. If placed too early, it takes over requests before later rules can handle them.