The system proxy determines which applications hand requests to a proxy; routing determines which outbound the core uses for requests it receives. On Windows, first check the system proxy in a browser, then compare direct and explicitly proxied requests to find out whether the app bypassed the proxy, a rule failed to match, or the node is unreachable.
System proxy controls the entry point; routing controls the exit
On Windows, selecting “Set system proxy” in v2rayN writes the local proxy address to Windows settings. Browsers that honor these settings send applicable web requests to the local proxy. Other apps may use their own proxy settings and ignore Windows. “Global” is a routing mode: it does not automatically send those apps through the proxy, and it is not the same as enabling TUN.
This guide uses the common v2rayN 7.x interface on Windows. Right-click the tray icon to check the current “System Proxy” option. In the main window, go to “Settings” → “Parameter Settings” to check the local listening ports. With a mixed listener, one port can accept both HTTP and SOCKS requests; with separate listeners, use the port for the relevant protocol. Don’t assume that 10808 accepts HTTP just because it’s listed.
- Set system proxy: Updates Windows proxy settings. After switching, open “Settings” → “Network & Internet” → “Proxy” and check the address and port under “Manual proxy setup.”
- Clear system proxy: Clears the system proxy settings, but does not stop the local listener. Apps with a manually configured proxy can still send requests to that port. If your organization set up a proxy, note its original values before testing.
- Do not change system proxy: Keeps the current Windows settings. If Windows still points to an old port, this option won’t fix the address or restore a browser’s direct connection.
Choosing between global, bypass China, and direct modes
Bypass China: Route traffic by rules
RecommendedCheck whether the current mode sends matching mainland China domains or IPs through the direct outbound and sends unmatched requests through the proxy. Routing depends on the rules and databases, not the page content or your location.
Best for: Everyday use when you need local services as well as proxy access to other sites
Global: Route requests received by the core through the node
When using global mode for comparison, make sure the test target doesn’t match a retained direct or block rule. Global mode won’t add a missing system proxy entry or make an HTTP-only local port accept SOCKS.
Best for: Temporarily ruling out routing errors and testing the current node on its own
Direct: Connect without a remote node
An app can bypass the proxy entirely, or send traffic to the core and then use a direct outbound. Neither path uses a remote node, but only the latter appears in the core’s connection logs. Don’t assume every version has a preset named “Direct.”
Best for: Checking your local network or LAN devices, or establishing a troubleshooting baseline
In the v2rayN main window, open “Settings” → “Routing Settings” to inspect the current mode’s rules. When switching modes, make sure the same mode is selected in the tray’s “Routing” menu. For Xray routing, rules are evaluated in order, and the first match takes effect. If nothing matches, traffic uses the configuration’s first outbound. Check both the order of exception rules and the default outbound. To see how a browser behaves without the client, clear the system proxy and disable any app-specific proxy settings instead of changing routing rules; this gives you a cleaner comparison.
Desktop system proxy vs. the Android VPN connection
First check whether the app is sending connections to the client
Windows:v2rayN
- Turn off TUN while testing the system proxy to avoid overlapping traffic capture.
- Select “Set system proxy,” then check the actual address and port on the Windows proxy settings page.
- Make a new connection in a browser that honors the system proxy. If the app has its own proxy configured, check its settings too.
Android: v2rayNG and v2flyNG
- The first time you start in VPN mode, approve the system prompt. Check the system VPN status to confirm the connection belongs to the client you’re using.
- If per-app proxying is enabled in the client, check whether the test app is included. Pay particular attention to whether selected apps are included or excluded.
- Routing in the core only applies after the app enters the VPN. v2rayNG uses the Xray core, while v2flyNG uses the v2fly core. Don’t assume Android uses the same menu labels as desktop routing settings.
Changing routing won’t affect an app’s connection path if the app never reaches the client.
How to verify proxy and direct connections after switching
Choose a test domain accessible on your current network. Keep the node and network the same, and change only one setting at a time. First check whether the app can connect to the local port, then check which outbound handled the request. A browser loads an entire page that may request resources from multiple domains; when troubleshooting a single rule, an individual request is easier to match against the logs.
- Run the following two commands in Windows Terminal. The first bypasses curl’s proxy for that request; turn off TUN before testing so the connection isn’t still captured at the system network level. The second explicitly uses the local HTTP proxy and does not depend on Windows system proxy settings.
- Replace the port in the second command with the HTTP or mixed-listener port confirmed in the interface. If
NO_PROXYis set in your terminal and includes the test domain, remove that exception for the current session so the explicit proxy test isn’t bypassed. - Run the second command again in both global and bypass China modes, then repeat with a test domain you’ve confirmed should use a direct connection. In the access logs, match the destination domain and request time to the outbound tag. If there are only error logs and no access entries, an empty log alone doesn’t prove the request went direct.
- Finally, open the same target in a browser to establish a new connection; don’t just inspect an already loaded page. If explicit proxying works but the browser has no matching connection in the logs, check the system proxy, system bypass list, and any browser-specific proxy settings.
curl.exe --noproxy "*" --max-time 15 -I https://example.com/
curl.exe --proxy http://127.0.0.1:10808 --max-time 15 -I https://example.com/
15 is the timeout limit for a single request, not a latency measurement. A successful second request only shows that the request can pass through the local proxy; it doesn’t prove it used a remote node, since the current route may select a direct outbound. If the first command succeeds but the second can’t connect to the local port, check that the core is running and the address and port are correct before checking the node. If the local connection is established but the proxy request times out, use the logs to check the outbound, node connection, and name resolution.
Common routing problems and troubleshooting steps
Switched to global mode, but why is only my browser using the proxy?
First check whether the other app honors the system proxy. If it has its own proxy settings, enter the address, port, and protocol v2rayN is actually listening on, then start a new connection. If there’s no proxy setting, changing routing modes repeatedly won’t affect that app’s traffic.
Why do some resources on familiar sites still use the node in bypass China mode?
Use the access logs to identify the domains that actually went through the proxy. The main page, images, and scripts may come from different domains and match different rules. Check the domain’s rule, rule order, and database version in routing settings. Add a rule only for a target you’ve confirmed should connect directly; don’t use an overly broad rule to override the entire mode.
Why is an app still connecting to the local port after I clear the system proxy?
Check the proxy address saved in the app and environment variables such as HTTP_PROXY and HTTPS_PROXY in the terminal session, then check whether TUN is still running. Turn off the relevant settings one at a time and restart the test app to rule out a reused connection.
Why can’t I reach LAN devices with bypass China enabled?
First, test the device’s LAN IP without using a proxy. If that fails too, check the device’s service and LAN connectivity first. If the direct connection works but the connection through the local proxy fails, check whether the IP matches a geoip:private rule that routes traffic directly, and whether an earlier rule matches first. If you normally connect by hostname, check name resolution separately.