Shadowrocket’s Global Routing mode decides how traffic is handled before you judge whether a proxy rule is working. This guide explains Config, Proxy, Direct, and Scene, shows how to switch modes on iPhone, and gives you a repeatable way to test the result. It assumes you already have a working configuration and your own subscription; get subscription links and connection details from your provider.
What Global Routing controls
Think of Global Routing as the top-level choice for how Shadowrocket handles traffic. It works alongside the selected connection and, in Config mode, the rules in the active configuration. The mode does not create a server, repair an unreachable connection, or make every website use the same route automatically. It tells Shadowrocket which routing approach to apply.
Three details are easy to confuse: whether Shadowrocket is connected, which connection is selected on Home, and which Global Routing mode is active. A connection can be selected without currently carrying traffic. A VPN connection can be active while the routing mode is Direct. And a rule can name a proxy policy that is unavailable or not the one you expected. Check these separately before changing settings.
For everyday use, Config is usually the place to start when you want rules to decide between direct and proxy routes. Proxy and Direct are useful as deliberate temporary choices, especially when comparing behavior or diagnosing a rule. Scene can help when you have configured different routing behavior for different situations, but selecting Scene alone does not define those situations.
Compare the four modes
The mode names describe different routing choices, not four different connection protocols. The same selected connection may be used in more than one mode, but the route chosen for a request can change. Keep your current connection and network unchanged while comparing modes so you can tell which setting affected the result.
| Mode | How it handles traffic | Useful for | What to verify |
|---|---|---|---|
| Config | Uses the rules in the active configuration to choose the route for matching traffic. | Normal use when you need a mix of direct and proxy access. | The active Config, rule order, policy names, and final rule. |
| Proxy | Uses a proxy route as the global choice rather than relying on each domain’s Config rule. | A temporary comparison when you want to check whether a request works through the selected proxy. | The selected connection or policy is available and the request can reach its destination. |
| Direct | Attempts to reach destinations directly, without sending them through the proxy route. | Checking direct access or isolating a proxy-related problem. | The current network permits direct access to the destination. |
| Scene | Uses scene-based routing behavior when scenes and their conditions have been configured. | Applying different routing behavior in situations you have deliberately set up. | The relevant scene, its conditions, and whether those conditions currently match. |
Let the active rule set make the per-request decision. A domain matched by a proxy rule can use the configured proxy policy, while a direct rule can remain direct.
Suitable for: everyday use with mixed direct and proxy traffic
Use either as a temporary global choice to compare a request against the Config result. They do not fix a broken connection, missing policy, or unreachable destination.
Suitable for: controlled checks and short troubleshooting tests
Choose it when you have intentionally set up scene-based behavior. Review the scene conditions rather than assuming that changing to Scene automatically detects every network situation.
Suitable for: users who have configured and tested scene conditions
Practical default: use Config unless you have a specific test or scene
If you want some destinations direct and others proxied, start with Config. Switch to Proxy or Direct only to answer a specific troubleshooting question, then return to Config and verify the rules that should handle normal traffic.
Switch modes on iPhone
Menu details can vary slightly by app release, but the central control is Global Routing on Home. Before switching, note the selected connection and current mode. If the configuration contains sensitive details, do not share screenshots or configuration files publicly. Keep the test limited to settings you can restore.
-
Check the connection
Open Home and confirm that your own configuration or server list is present. Select the connection you intend to test. If you are not already connected, start the connection and approve the system VPN prompt if iOS displays one.
-
Open Global Routing
On Home, tap Global Routing and note the currently selected mode. If Config is selected, also open Config and confirm which configuration is active; rules in a different file will not explain the behavior of the active one.
-
Choose one mode
Select Config, Proxy, Direct, or Scene for the test you intend to run. Avoid changing the connection, DNS settings, and rule file at the same time. For a normal rule-based setup, select Config; for Scene, confirm that the scene you expect is actually configured.
-
Test a fresh request
Open a new browser tab or reload a page after the change. Check one destination expected to use a proxy and one expected to go direct. Record the mode, connection, network, and result, then restore your intended everyday mode.
Changing the mode is not the same as selecting a different server. If a request fails in both Config and Proxy, the issue may be the connection, destination, DNS, or local network rather than a particular Config rule. If the request works in Proxy but not in Config, investigate the active configuration and the rule or policy that should match the destination.
Check Config rules and Scene conditions
Config mode depends on the active configuration. A rule typically matches a domain, IP range, or other supported condition and assigns an outcome such as a proxy policy or DIRECT. Rules are evaluated according to the configuration’s structure, so an earlier broad match can prevent a later, more specific rule from being reached. The final rule is important because it determines the outcome for traffic that did not match an earlier rule.
Config review
- Active file
- Config: confirm the configuration currently in use
- Domain rule
- DOMAIN-SUFFIX,example.com,PROXY
- Direct rule
- DOMAIN-SUFFIX,local.example,DIRECT
- Fallback
- FINAL,PROXY or FINAL,DIRECT, as intended
These are illustrative rule lines, not a recommendation to replace your provider’s configuration. A policy such as PROXY must exist and be usable in that configuration.
Scene review
- Selected mode
- Home → Global Routing → Scene
- Scene setup
- Confirm the scene and its configured conditions
- Current context
- Check whether the present network or condition matches
- Comparison
- Test the same request under Config, then under Scene
Scene behavior depends on the setup available in your app and configuration. Do not infer a condition or automatic switch that you have not configured.
Do not edit a subscription-provided configuration just to force one test result unless you understand how the configuration is maintained. A later update may replace local changes. If a specific domain is being routed unexpectedly, first identify the exact hostname involved; a page may load images, login screens, or media from separate domains, each of which can match a different rule.
Also distinguish a rule mismatch from a policy problem. A rule can match correctly but point to a group or policy that has no usable selection. Conversely, a selected proxy can work while the desired domain is caught by a direct rule or an earlier broader rule. Check the match and the destination policy as separate questions.
Verify the route and restore your default
A useful test changes one variable at a time. Keep the same iPhone, Wi-Fi or cellular connection, selected server, and destination. Test a fresh request rather than relying on a page already loaded from cache. Use destinations whose expected routes you understand from your own rules; do not assume that a site’s country, language, or name determines its route.
- Config works as expected: Keep Config selected for normal use and confirm the relevant domains match the intended rules.
- Proxy works, Config does not: Check the active Config, rule order, matching hostname, and the policy named by the rule.
- Direct works, Proxy does not: Check the selected connection and whether the destination is reachable through it; this alone does not prove the rules are wrong.
- Neither route works: Check the network, destination, DNS behavior, and connection status before editing rules.
- Scene differs from Config: Review which scene is selected and whether its conditions match the current situation.
Use the following questions to keep a test focused. The answers describe checks, not guarantees: websites can behave differently across networks, and a successful request to one destination does not validate every rule in a configuration.
Why does a page work in Proxy but not in Config?
Return to Config and check the exact hostname, active file, rule order, and policy assigned to the matching rule. A proxy test can succeed even when Config sends that domain elsewhere.
Does Direct mean Shadowrocket is disconnected?
No. Direct is a routing choice, while the connection status is a separate check. Look at Home to confirm whether the VPN connection is active, then inspect Global Routing to confirm the selected mode.
Should I leave Proxy selected after troubleshooting?
Only if sending traffic through the global proxy route is what you intend. If your normal setup relies on per-domain rules, return to Config and test the expected direct and proxy destinations again.
Once testing is complete, restore the mode you actually intend to use, usually Config for a rule-based setup. Confirm the selected connection, verify one expected proxy destination and one expected direct destination, and keep a note of any setting you changed. If you need to add or update your own subscription, obtain its link from your provider rather than relying on an unrelated configuration.