Official Manual · First-time Setup
Shadowrocket Setup Guide
In Home, select a server entry, choose a Global Routing mode, connect, and verify the result. For the first setup, check one server entry and one familiar service. There is no need to change rules, DNS, or On Demand at the same time.
Before you begin: This guide uses the iPhone / iPad interface. Install Shadowrocket first: get the iPhone / iPad version from the App Store product page for a one-time US$2.99 purchase; check the App Store page for system requirements. The Mac (Apple Silicon and Intel), Windows, Android, and Linux versions are free; download them only through the
/dl/link on this site’s download page.Have your own subscription URL or server details ready. Get subscription URLs from your service provider; this site does not provide, sell, or recommend servers or subscriptions. A one-time app purchase is not a service plan.
01 Add or Import
Add Server: Add an existing server or subscription
Open Shadowrocket and go to Home. First identify what information you have: a set of specific server fields is for manual setup, while an address used to retrieve and update a server list is for Subscribe. A single share link and a subscription URL are different things. If you are unsure, check the purpose stated by the provider rather than guessing from whether the URL starts with HTTPS.
Add a server entry manually
Tap the plus sign in the upper-right corner of Home to open Add Server, choose a protocol, and fill in the fields. The fields vary by protocol. For example, Shadowsocks usually requires a server address, port, encryption method, and password; other protocols may require an identifier or TLS settings. Use the details you have, and do not copy field values from another entry. If your provider has not supplied an optional value, leave it as is rather than entering a domain from another guide.
Save the entry and return to Home. Find it in the SERVER list. If there are several entries with similar names, open their details to check the protocol, address, and port, then select the correct one. Seeing an entry in the list only confirms it was saved; it does not confirm that the server is reachable or the credentials are correct.
Import entries with Subscribe
From Home, tap the plus sign in the upper-right corner to open Add Server. Select Subscribe as the type, enter the full subscription URL from your service provider, and save it. If the URL has query parameters, include them when copying it. In particular, check that no period, space, or line break was accidentally added to the end. Return to Home and check whether the subscription has added selectable entries to the SERVER list. If you see only the subscription entry and no servers, wait for the retrieval to finish, then check the subscription update result.
If you have a QR code for a single server, use Scan QR Code in Home. Check the imported entry before saving it. The scanner reads the QR code; it does not turn a single server into an updateable subscription. Share links, subscription URLs, and QR codes may contain connection credentials. Do not post them publicly or share them in group chats.
Whichever import method you use, select an entry in SERVER before proceeding. Verify just this entry for now; do not replace multiple servers at once. If you are unsure about the different terms, see the glossary.
02 Connection Handling
Global Routing: Choose Config, Proxy, or Direct
After selecting a server, open Global Routing in Home. This setting determines how traffic is handled after a connection is established; it does not add servers. For everyday rule-based routing, select Config after confirming the current configuration file. To compare proxy and direct routes temporarily, switch to one of the other two modes.
Config: Route traffic using the current rules
When you select Config in Home, the app handles connections according to the rules in the current configuration file. Connections matching DIRECT go direct; those matching a proxy policy are sent to the corresponding proxy; those matching REJECT are blocked. If none of the earlier rules match, check how FINAL is handled in the file. Open Config at the bottom to check which file is in use. Seeing only the file name is not enough to tell whether a particular site will use a proxy. Before connecting for the first time, confirm that the right file is selected; there is no need to edit rules while testing.
Proxy: Temporarily check the proxy route
When you select Proxy, connections handled by Shadowrocket use the current proxy instead of being routed by the rules in Config. This is useful for answering a specific question: with the server unchanged, does the same request succeed through the proxy? If it succeeds in Proxy but fails after switching back to Config, check the rules and the policy they point to before replacing the subscription.
Direct: Compare with the current network
When you select Direct, connections handled by Shadowrocket do not go through the server proxy. This is useful as a short-term comparison, but it does not turn off the Home connection switch. The device may still show VPN as connected while the current request goes direct. To check the system network after fully disconnecting, return to Home, turn off the switch, and test again. Note the mode you selected and keep it unchanged when you connect in the next step.
03 Start the Connection
Home: Turn on the switch and allow the VPN configuration
Return to Home and check the selected entry in SERVER and the mode shown in Global Routing. Once both are confirmed, turn on the switch beside Not Connected. The first time you connect, the system may prompt you to add a VPN configuration. Confirm that the prompt was triggered by Shadowrocket, which you just opened, then allow it. If the system asks you to authenticate, follow the device prompts and return to the app.
If you canceled or denied the prompt, return to Home and turn the switch on again to see whether the system asks for permission again. If no prompt appears and the switch still will not turn on, check the VPN configuration status in system settings. Devices managed by an organization may have additional restrictions. Do not remove unfamiliar management configurations or disable organizational policies to connect; check with your device administrator first.
After connecting, return to Home and confirm that the switch remains on and the status is no longer Not Connected. A status change means the app has established a local VPN connection; it does not guarantee that the remote server is working or that every request goes through the proxy. If the switch turns off again shortly after you turn it on, note when the issue occurs and any prompt shown. Do not repeatedly tap the switch or change several settings at once. You can go straight to Troubleshooting.
04 Test a Request
Connectivity Test: Check that the connection works
Use Connectivity Test in Home and check whether the row for the selected server returns a result. The test reflects the conditions used for that particular check: a result does not mean every website will open, and a single timeout is not enough to conclude that the server has failed. For the first test, keep the device network unchanged. Do not switch between Wi-Fi and cellular during the test or use a single latency figure as the only measure of success.
Next, reopen a familiar service in your browser and load a page that needs to refresh. Do not count cached content already on screen as a successful test. If you use Config, first check whether the service is expected to connect directly or through a proxy. Sometimes the main page opens while images or sign-in fail because they use different domains and may match different rules. Identify which type of request is failing rather than checking only the main page.
If the result differs from what you expected, keep the server, network, and test target unchanged, and switch Global Routing mode once for comparison. For example, test in Config, then retry the same request in Proxy. If Proxy works but Config fails, return to Config and check the current file, rule order, and policy. If both modes fail, check the server settings and current network. If the same request still fails after disconnecting, check the basic network connection or the service itself first.
When finished, restore the mode you originally planned to use. This setup is complete when you can reproduce the expected test result and actual requests are handled as expected. For more on DNS, On Demand, or Log, see the options guide; there is no need to change these during the initial test.
05 Troubleshooting
Common failure points: Start with the first issue
Start with the earliest step that failed. If there is no server entry, resolve the import issue first. If the switch will not turn on, check the system prompt. You can compare server tests and app access only after the switch stays on. After changing one setting, repeat the same test.
The SERVER list is empty after saving
First determine whether manual saving failed or the subscription was saved without returning any entries. For manual setup, check the protocol and required fields again. For Subscribe, check that the URL is complete and still valid, and that the device has a working network connection. If the old URL is incorrect, fix that entry instead of repeatedly creating the same subscription. If your service provider changed the subscription URL, get the latest one from them before updating.
The switch turns on, but the test fails
Confirm that the selected entry in SERVER is the one you intend to test, then check the protocol, address, port, and authentication fields. If the current Wi-Fi network requires sign-in, turn off Shadowrocket, sign in to the network through the system, then reconnect and test again. If permitted on your device, keep the server and mode unchanged and compare using another available network. If only one entry fails, check that entry first; if several fail, check the network or settings they share.
Only some sites or apps have access issues
Check whether Global Routing is still set to Proxy or Direct from a temporary test. If you use Config, check the current file and note which domain or action triggers the issue. DOMAIN, DOMAIN-SUFFIX, and FINAL rules match different ranges; one working domain does not prove that other domains for the same site match the same rule. If the issue occurs only after switching networks, verify the connection again on the new network before deciding whether to adjust the configuration.
If the issue is still unclear, keep notes that do not contain credentials: which step failed, the network type, the Global Routing mode, the Connectivity Test result, and whether the issue occurs when disconnected. Do not include a full subscription URL, server password, or private key. For purchase, reinstall, and first-launch questions, see the FAQ.