Rules and Global Routing
To choose a connection method based on the destination domain or address, open Global Routing on Home, select Config, and check which configuration is active. Config uses rules to direct requests; Proxy sends matching requests through the selected proxy; Direct connects without a proxy. These are routing modes, not server protocols. Changing modes will not fix a server address, credentials, or TLS settings.
Rules are generally checked in order, so an earlier match can affect what happens next. DOMAIN-SUFFIX matches the specified domain and its subdomains; GEOIP matches based on the address’s region; FINAL handles requests that matched no earlier rule. Before editing, keep a working copy of your configuration and confirm that every referenced policy exists. The example on the right shows rule syntax only; example.com is a placeholder domain, not a connection service.
Explore Rule Keywords and Policies →- DOMAIN-SUFFIX,example.com,PROXY
- GEOIP,CN,DIRECT
- FINAL,PROXY
Match a condition first, then apply a policy. PROXY, DIRECT, and REJECT each behave differently.
Check the Mode Before the Rules
Config routes traffic according to the active configuration; Proxy uses the selected proxy; Direct connects without a proxy. When troubleshooting rules, first confirm that Config is active. Otherwise, rule changes may not produce the expected results.
A mode determines only how traffic is routed. Check server reachability, parameter accuracy, and the destination service’s response separately.