Routing rule
Routing & DNS
Routing rules select an outbound based on conditions such as the domain, destination address, or inbound tag. In common core configs, rules are checked from top to bottom, and evaluation stops at the first match. When adding an exception, check whether an earlier, broader rule already catches the connection.
Traffic routing
Routing & DNS
Traffic routing sends different connections through different outbounds. For example, an office intranet can connect directly while other specified requests go through a proxy outbound. The inbound mode determines which connections the client can receive; routing only determines where those connections go next.
GeoIP
Routing & DNS
GeoIP matches IP address ranges grouped by region or purpose in routing rules. It matches the connection's destination address, not the user's location. If a domain resolves to multiple addresses, the result also depends on whether the core resolves the domain for that rule and which addresses it gets at the time.
GeoSite
Routing & DNS
GeoSite references a group of domain matches by name, making them reusable across multiple rules. Which domains are included depends on the data file in use; the results aren't queried in real time. If a connection only provides a destination IP, GeoSite alone can't tell you which domain it originally belonged to.
FakeDNS
Routing & DNS
FakeDNS assigns a synthetic IP address to a domain and stores the mapping in the core. When a later connection returns to the same core, the core can use that mapping to recover the domain and route by domain. The synthetic address isn't the remote host's address and can't be treated as an ordinary DNS result outside this mapping.
DNS leak
Routing & DNS
A DNS leak occurs when domain queries that should follow a specified route are sent to an unintended resolver. Web requests going through a proxy doesn't mean the app's DNS queries use the same route. To troubleshoot, compare the app's resolution method, system DNS, and client DNS—not just the public IP seen by websites.
System proxy
Routing & DNS
A system proxy is an operating-system setting used by apps that read it. When the client enables the system proxy, apps that follow the setting send requests to a local proxy entry point; apps with their own network settings may ignore it. If only a few apps have connection problems, compare their proxy settings first.
TUN mode
Routing & DNS
TUN mode receives IP packets routed through a virtual network interface by the operating system. Apps don't need to read the system proxy, so TUN can also handle traffic from some apps that ignore it. The actual coverage depends on routing, exclusions, and permissions.