Shadowrocket Quick Start
Add an existing subscription or server to Shadowrocket, choose a routing mode, connect, and check the results of real-world access.
Add Server: Add a server or subscription
Open Shadowrocket and stay on Home. Under the SERVER group, find Add Server. First, identify what kind of information you have: a complete subscription URL imports a group of servers; a single server’s protocol, address, port, and authentication details are used to add it manually. Choose either method. If you already have the entries you need through a subscription, there is no need to enter the same server details again. Doing so can create similar-looking entries with different configurations, making it easy to select the wrong one when troubleshooting.
With a subscription link: choose Subscribe
In Add Server, open Type, select Subscribe, paste the complete subscription URL into URL, and save. If the link contains query parameters, keep the question mark and everything after it. Do not extract just the domain and enter it as a single server, or paste the link into a chat group or troubleshooting screenshot. Return to Home and expand the relevant group after the list loads. Seeing a group name does not mean the servers have loaded; confirm that the group contains selectable entries.
With server details: fill in the fields for the selected Type
To add a server manually, first choose the protocol that matches your details in Type, then enter the address and port separately in Host and Port. If the selected type shows Password, Method, or other fields, fill them in using the information you have. Fields vary by protocol, so do not assume the fields in one screenshot apply to every type. Check that the address does not include a protocol prefix, path, or spaces, and make sure the port after the colon has not been entered in both fields. If details are missing, check with the original provider rather than guessing.
After saving, return to SERVER, confirm that the entry name matches the details, and note which server you plan to test. This completes the entry process; wait before turning on the switch, as the way a server is used depends on the routing mode.
Global Routing: Choose a routing mode
Tap Global Routing on Home and choose a mode based on what you want to do with this connection. This setting determines how the app handles traffic; it does not select a different server or edit a configuration file. If you have a rules configuration ready to use, start with Config. If you are unsure how the current rules handle requests, review the three modes below and choose a clear test goal.
- Configuration (
Config): Match traffic against the rules in the active configuration file. Requests that match a rule use the policy specified by that rule. A lit switch alone does not mean all requests use the proxy. - Proxy (
Proxy): Route traffic handled by the client through the proxy. This is useful for comparing how rules affect a particular request in a controlled test. It does not need to be your everyday default. - Direct (
Direct): Connect traffic handled by the client directly, without going through a proxy server. This is different from turning off the switch at the top and can help determine whether an issue also occurs without using a proxy.
After choosing a mode, return to Home and check the mode shown beside Global Routing. If you selected Config but are unsure which file is in use, open the Config page at the bottom to check the active configuration. The bottom tab opens configuration management; the option with the same name above sets rule-based routing. They share a name but open different areas. The screenshot below shows the official file editor; you do not need to open Add Rule before your first connection.
For your first connection, keep your existing rules. Do not change the mode, replace the configuration file, and edit rules all at once. Otherwise, it will be difficult to tell which change affected the result. To learn about rule order or how FINAL works, see the rules and routing guide. Once the mode is set, return to SERVER and select the server you want to use.
Home: Select a server and turn on the switch
Return to Home, expand the group you just added under SERVER, and select the server you want to test. Check that the selection dot has moved to the target row, then confirm the group and name. Some subscription entries differ only in their last few characters. An entry appearing in the list does not mean it is selected, and a test result shown beside it does not mean the current connection will use it. With rule-based routing, your selection here also does not override a different policy specified in the configuration file.
Find the switch beside Not Connected at the top of Home, tap it once, and wait for the status to update. The first time you turn it on, your iPhone or iPad may ask to add a VPN configuration. Confirm that the prompt appeared after this action and identifies Shadowrocket as the app, then allow the configuration to be added as instructed by the system. If the system asks you to verify on the device, complete that step there. This permission establishes a system connection; it does not activate a service plan, and you do not need to enter your device passcode in Add Server.
If you dismissed the system prompt, return to Home and turn on the switch again to see whether the prompt reappears. If your device is managed by work or school, or the system restricts VPN configurations, check the policy with the administrator. Do not delete configurations you do not recognize. While the switch has not settled into a stable state, do not toggle it repeatedly or start another VPN connection in the background; that would make the results of your observations difficult to compare.
If the switch stays on and the status no longer shows Not Connected, continue to the verification step. This means the client has entered a connected state; it does not by itself confirm that the server is reachable or the correct rule was matched. If the switch quickly turns off again, note the prompt and mode, and do not rush to reinstall. The troubleshooting steps below distinguish system permission issues from failed server tests.
Connectivity Test: Check the server and real-world access
Keep the current network, server, and mode unchanged. Tap Connectivity Test on Home. Once the results refresh, check the row for the server you selected rather than looking for any result in the list. If a result has not refreshed, wait for this test to finish before drawing conclusions; do not mistake an earlier result for the current one. The result reflects the current network and test method, not a guarantee for every app or destination.
Next, open a browser and visit a webpage that you can normally access. Refresh it once and confirm that it loads new content. An already-open page may simply show cached content; seeing it remain on screen does not show that this connection is working. To verify Config, you can choose an existing destination with a rule that explicitly specifies DIRECT and another with a rule that specifies PROXY, then compare the results. The fact that both pages open does not, by itself, confirm which policy each one used.
What the three observations tell you
- If the switch at the top stays on, the system connection remains enabled. If it turns off immediately, check system or client prompts first.
- If the server has a result from this test, the current test received a response. If it shows
timeout, check the current network and server parameters. - If the destination loads, it is accessible under the current conditions. If the test returns a result but a particular destination still fails, first check the rules and policies for that destination.
For a comparison, use the same device, network, and destination each time, and change only one thing per test. For example, reproduce the issue with Config, then temporarily switch to Direct and compare. This can narrow down the cause, but it does not prove which specific rule matched. After testing, restore the original mode and check the switch and selected server again. If the issue persists, use the symptom-specific checks in the next section.
Settings: Check each issue step by step
No selectable entries appear under SERVER after saving
First check whether the subscription group is collapsed and whether you entered a subscription URL. If the expanded group is still empty, compare the URL with the original information, check that it is complete and has no pasted line breaks, then try again when your basic network connection is available. For a manually added server, return to its settings and check whether you missed a field required for the selected Type or failed to save it. If there are no selectable entries under SERVER, repeatedly turning the connection switch on will not fix the import issue.
The switch turns off immediately, or the test shows timeout
If the switch immediately turns off, first check whether you allowed the VPN configuration when prompted and whether the system has a restriction or another VPN is active. If the switch stays on but the same server repeatedly shows timeout, turn off the connection and confirm that your current Wi-Fi or cellular network can access the internet normally. Then compare Type, Host, Port, and the authentication or transport parameters. If the details appear consistent, check that the device date, time, and time zone are correct; system time can affect certificate verification for some connections.
The test returns a result, but a particular app or webpage still fails
First confirm that Global Routing is not still set to a mode used for an earlier comparison. With Config, check whether a rule earlier in the active configuration matches the destination first, whether the policy is as expected, and which FINAL rule handles unmatched traffic. If results are inconsistent, open Settings and check Test Method and Diagnostics. Note the test method and error message; results from different test methods should not be compared directly.
Change one reversible setting at a time, then return to Home and repeat the same test. If you ask someone for help, describe the mode, the step where the issue occurs, and the error message without sensitive information. Do not include a complete subscription link, password, or logs containing credentials. For On Demand, test methods, or rule keywords, see the glossary. To confirm how to obtain the app, read the genuine app guide.