Global Routing is the control that decides how Shadowrocket handles traffic at a broad level. On iPhone and iPad, its four choices—Config, Proxy, Direct, and Scene—do not mean the same thing as opening the Config tab or selecting a connection in Home. Choose the mode that matches the behavior you want, then verify it with a small number of real requests. This guide explains what each choice does, how to change it, and what to check if the result differs from your expectation.
Use Config for rule-based routing, Proxy to send traffic through the selected proxy, and Direct to bypass the proxy. Use Scene when you have set up a scene and want its configured behavior to apply. The steps use the iPhone and iPad interface; menu placement can differ on Mac, Windows, Android, and Linux. They assume you already have your own connection details and, if needed, your own subscription. This site does not provide, sell, or recommend nodes or subscriptions.
Understand the four Global Routing modes
Global Routing is a routing choice, not a list of servers and not the place where you edit a configuration file. It tells Shadowrocket how to handle requests overall. The selected mode can change the outcome even when the connection switch is on and a proxy entry is selected. Before changing it, note the current mode and the active Config so you can return to the previous behavior if necessary.
| Mode | General behavior | Useful when | Check before use |
|---|---|---|---|
| Config | Uses the active configuration’s routing rules to decide which policy handles a request. | You want different destinations to follow different rules. | Confirm the intended Config is active and its rules have the policies they refer to. |
| Proxy | Routes traffic through the selected proxy rather than applying ordinary rule-based split routing. | You need a temporary broad proxy route or want to test the selected connection. | Confirm that a usable proxy is selected in Home and that its connection details are current. |
| Direct | Sends traffic directly instead of using a proxy route. | You need to check direct connectivity or temporarily bypass proxy routing. | Expect destinations that require a proxy to be unreachable while this mode is selected. |
| Scene | Applies the behavior associated with the selected or configured scene. | You have a scene set up for a particular context and want to use that setup. | Check the scene selection and its configured behavior; available details depend on your setup. |
Keep the names in their correct context. The Config tab at the bottom of the app is where you manage configuration files. Global Routing → Config is the mode that uses the active configuration’s rules. Opening the Config tab does not, by itself, switch the routing mode or make a particular file active. Likewise, a proxy entry visible in Home does not prove that all requests are using it: the Global Routing selection and, in Config mode, the matched rule also matter.
Lets the active configuration’s rules decide which requests use a proxy and which go direct. This is the appropriate starting point when you rely on rule-based routing.
Suitable for: everyday use with different routing behavior for different destinations
Provides a broad proxy-routing choice for testing or temporary use. It does not mean that each destination is being selected by the normal rule set.
Suitable for: checking a selected connection or temporarily routing broadly through it
Bypasses proxy routing. It is useful as a diagnostic control, but it will not work for a destination that requires a proxy.
Suitable for: checking the direct network path or isolating a routing issue
Uses scene-related behavior that you have configured. It is not a shortcut for repairing a missing Config or an unusable connection.
Suitable for: switching between previously prepared contexts
Choose a mode for the task
For a normal setup in which some destinations should use a proxy and others should connect directly, start with Config. This preserves the distinction encoded in the active rules. A rule-based configuration may include domain rules, IP rules, and a final fallback policy. A request’s result depends on the rules that actually match it, their order, and the policy named by the matching rule. If you select Proxy or Direct instead, you are choosing a broad routing behavior rather than asking the rule set to make each decision.
Proxy and Direct are also useful for diagnosis, but treat them as controlled tests rather than permanent fixes. If a destination fails in Config, briefly selecting Proxy can help you test whether a proxy path works; selecting Direct can help you test whether the direct path works. A successful test narrows the possibilities, but it does not prove that every other destination, rule, DNS lookup, or network condition is correct. Return to the intended mode when the test is complete.
- Choose Config when you want the active configuration’s rules to decide between proxy and direct policies.
- Choose Proxy when you deliberately want a broad proxy route for a short test or a specific temporary task.
- Choose Direct when you need to bypass proxy routing and test the ordinary network path.
- Choose Scene only when you know which scene is selected and have checked what that scene is configured to do.
Scene deserves an extra check because its result depends on your own setup. Do not assume that selecting Scene automatically means “use the current Wi-Fi,” “use the last proxy,” or “apply the same rules as Config.” Review the scene-related options shown in your app, identify the selected scene, and confirm its intended behavior before relying on it. If you have not configured scenes or cannot identify which one is active, Config is usually easier to verify for rule-based routing.
Bottom line: use Config for rule-based everyday routing
When the goal is to apply the active rules, select Config and verify that the intended file is active. Use Proxy and Direct as temporary diagnostic choices, and use Scene only when its configured behavior is understood.
Change Global Routing on iPhone and iPad
The following path uses the iPhone and iPad interface. Exact placement or wording can vary between app versions and languages, so use the English labels as landmarks if your device displays another language. Make one change at a time. If you change the mode, the active Config, and the selected connection together, it becomes harder to tell which change affected the result.
-
Check Home
Open Home and confirm that the connection entry you intend to use is present. If you are testing a proxy route, make sure the correct entry is selected and that its details come from your own valid configuration. Do not paste credentials into notes or share them in screenshots.
-
Check the Config
Open the Config tab and confirm which configuration is active if you plan to use Config mode. A file merely appearing in the list is not the same as that file being selected for routing. If you have edited rules, retain a backup before making further changes.
-
Open Global Routing
Return to Home and locate Global Routing. Tap the current selection to display the available modes. If the control is not visible where expected, check the Home screen and the app’s current layout rather than changing unrelated Settings.
-
Select a mode
Choose Config, Proxy, Direct, or Scene according to the task. For everyday rule-based routing, choose Config. For Scene, confirm the scene selection and its setup instead of assuming it behaves like Config.
-
Connect and verify
Turn on the connection if it is off, approve the system VPN prompt if iOS or iPadOS requests it, and make one test request. Check Data or the request log to see whether the request appeared and which route or policy handled it, where that information is shown.
On Mac, Windows, Android, and Linux, the same concepts apply, but the interface and menu placement can differ. Use the corresponding Home, Config, or routing controls on that platform rather than assuming the iPhone screen layout is identical. For platform-specific client downloads, use the client download page; do not use an iPhone menu path as an installation instruction for another device.
Verify the result and troubleshoot mismatches
Check a request at more than one layer. First confirm the Global Routing mode shown on Home. Next confirm the connection status and, if relevant, the selected proxy entry. In Config mode, confirm the active Config and identify the rule or fallback that should match the destination. Finally, inspect Data or the request log and look for the request’s route information. A connection switch being on only indicates that Shadowrocket is active; it does not establish that a particular request used a proxy.
Config mode checks
- Global Routing
- Confirm that Config is selected
- Active file
- Check the intended Config is in use
- Rule match
- Identify the rule or fallback for the destination
- Policy
- Confirm the rule refers to a policy available in the configuration
A correct mode cannot compensate for a missing, inactive, or mismatched rule.
Proxy or Direct checks
- Selected entry
- Confirm the intended connection in Home
- Connection
- Check that the app is connected and has system VPN permission
- Test request
- Repeat one request after selecting the mode
- Data
- Review the request and displayed route details
A short controlled test is easier to interpret than changing several settings at once.
If a request does not behave as expected, use this sequence instead of repeatedly switching modes:
- Record the current Global Routing selection and the destination you tested.
- Check whether the connection is on and whether the selected entry is the one you intended to use.
- If Global Routing is Config, verify the active file, the matching rule, and its policy. Check whether an earlier rule matches before the rule you expected.
- If Global Routing is Proxy, confirm that the selected proxy entry is available and that the test destination is not being affected by a separate system or network restriction.
- If Global Routing is Direct, remember that a destination requiring a proxy may fail by design. Return to Config or the intended mode after the direct-path test.
- If Global Routing is Scene, check the selected scene and its configured behavior. If you cannot establish what it does, use a mode you can verify while troubleshooting.
DNS and the network environment can also affect the result. A request may appear to fail even when the routing mode is correct if name resolution is unavailable, the current Wi-Fi or cellular network is restricting traffic, or the remote service is not responding. Change only one variable between tests and note the outcome. Avoid replacing a working configuration with guessed server addresses, ports, or rule text; use the values and instructions that belong to your own setup.
Global Routing controls the broad routing behavior; the active connection and, in Config mode, the rules determine how a specific request is handled. Verify those layers separately before concluding that the mode itself is broken.
After troubleshooting, restore the mode you actually want to use and test again. If your normal setup depends on rule-based decisions, that will generally be Config, with the intended Config file active. Keep a note of any temporary Proxy or Direct test so it is not mistaken for the final setup. Treat subscription URLs, passwords, keys, and exported configuration files as credentials, and redact them before sharing diagnostic material.