Traffic routing
Routing and traffic rules
Match connection attributes first, then choose the appropriate outbound. Referenced data resources, rule order and outbound tags all matter. A short example phrase is not a complete configuration you can import.
Routing and traffic rules
Routing rule
Routing rule
A configuration rule that selects an outbound for a connection based on conditions such as its domain, IP, port or inbound tag. Rules commonly match in order, and the first match determines where traffic goes, making rule order and outbound tags important. Before adding a rule, identify what it should match and where it should send traffic, then check whether a broader rule above it would already match the connection.
Routing and traffic rules
Traffic routing
Traffic routing
Sending different connections to different outbounds based on conditions, such as direct, proxy or block. Routing happens after traffic enters the core; it does not replace the settings needed to send application traffic to the local proxy in the first place. Modes such as Global and Bypass Mainland China are usually labels for preset routing policies; check the rules currently generated by the client to confirm their actual behavior.
Routing and traffic rules
GeoIP
IP address sets
A categorized set of IP addresses used by routing rules for matching. geoip:private is commonly used to match private network address ranges. The exact entries depend on the rule data in use. Geographic categories are data labels, not a guarantee of a service's actual location; for domain connections, whether IP matching happens also depends on the domain resolution strategy.
Routing and traffic rules
GeoSite
Domain name sets
A categorized set of domains used for domain matching in routing rules. Labels such as geosite:cn refer to categories in a rule data resource, not a live location lookup or a DNS result. Before using one, confirm that the relevant resource is available and includes the category; updates to category data can also change which rules match.
Routing and traffic rules
Outbound
Outbound
The configuration the core uses to send a connection to its destination. An outbound can use a proxy protocol, connect directly or block the connection. Routing typically selects an outbound by its tag; a tag is a configurable identifier, not a fixed protocol name. If a rule specifies proxy, a matching outbound definition must exist. Changing the tag alone does not create a new connection capability.