Official Guide / Getting Started
Shadowrocket Setup Guide
Import a Subscription, Connect, and Verify
Follow five steps to establish a basic connection. First confirm that your details are imported, then choose a routing mode, and finally check the result by visiting a webpage. This tutorial uses iPhone and iPad as the example. Mac, Windows, Android and Linux editions are a free download on the download page. You do not need to rewrite the whole configuration first.
The images are official App Store screenshots. The interface language and layout may vary by device and app version. Use the English interface labels in this guide to find the right controls; do not copy the example details shown in the screenshots.
STEP 01 / IMPORT
Add Server: Add a Server or Import a Subscription
Open Shadowrocket and go to Home. The SERVER section lists saved servers. The first time you use the app, add a server before turning on the switch at the top. Tap Add Server to open the details form. Choose the option that matches the information you have: a subscription URL lets you manage multiple servers, while individual server details can be entered manually. You do not need to import both.
Have a subscription URL? Choose Subscribe
After opening Add Server, tap Type and choose Subscribe. Enter the full subscription URL in the address field. When copying it, select everything from the beginning to the end, without any explanatory text, quotation marks, or line breaks from the message. Keep any parameters after the question mark; they may be needed to identify the subscription. A long URL is not necessarily incorrect, so do not shorten it.
Save, return to Home, and wait for the subscription contents to load. Check whether server entries appear in the relevant group. Saving the URL alone does not complete the import if no servers appear in the list. Check for an update error or parsing message, then verify that you copied the URL correctly. For subscription management and updates, see the Subscription and Server Management Guide. To get started, just confirm that you can select an imported server.
Have details for one server? Enter them according to Type
To add a server manually, select the exact protocol listed in your details under Type, then enter the Host and Port. Host is the server’s domain name or address; do not paste an entire share link into this field. Port is the connection port; do not include a colon or extra text. The Password and Method fields shown in the screenshot apply to certain protocols; not every protocol uses the same fields.
Enter authentication details, transport settings, and security options to match the information you have. If a protocol requires a UUID or other fields, use the details for that protocol rather than following the screenshot’s field order. Leave settings unchanged unless your provider’s details say otherwise. Changing encryption, transport, or the server name based on guesswork can result in a saved entry that will not connect. Saving means the form was accepted; it does not confirm that the server works.
If you have a QR code, tap Scan QR Code, approve camera access, and scan the code. After importing, open the entry and check its Type, Host, and Port. Import from Cloud JSON is a separate import option, not a general replacement for a subscription URL. Whichever method you use, return to Home, select a server, and continue to the next step.
STEP 02 / ROUTING
Global Routing: Choose Config, Proxy, or Direct
After saving a server, stay on Home and open Global Routing. This setting determines how requests are routed; it does not fill in missing server details or fix an expired subscription. The three modes are Config, Proxy, and Direct. Before choosing one, decide whether you are testing a server or using your existing Rules for everyday traffic.
| Mode | What it does | What to check when getting started |
|---|---|---|
| Config | Routes requests according to the Rules in the active configuration. | Confirm which configuration is active and where its Rules send traffic. |
| Proxy | Sends requests handled by the app through the proxy route. | Select an available server first, then verify access. |
| Direct | Handles requests using a direct route. | Useful for comparing your underlying network; it does not confirm that a proxy server works. |
To distinguish an unavailable server from Rules that do not select a proxy, start by testing with Proxy and the server you just selected. This checks requests handled by the app; it is not an absolute guarantee about all device traffic. Once the basic connection works, switch back to Config and check how the Rules route traffic to narrow down the issue.
Before using Config, check the active configuration
Open the app’s Config tab and confirm that the active configuration is one you understand. Open it to view sections such as General, Rule, and Hosts. Rule defines matching conditions and actions; Add Rule adds a Rule. Having a configuration does not mean that all requests will go to the selected server. Check the Rules to see where traffic is routed.
Rules are usually evaluated in order, so an earlier match may determine where a request goes. These two lines are examples to explain the syntax: requests to example.com and its subdomains go through PROXY, while the remaining requests are handled by FINAL,DIRECT. In your configuration, PROXY must point to an available proxy route. Do not overwrite an existing configuration just to try the example.
DOMAIN-SUFFIX,example.com,PROXY
FINAL,DIRECT
You do not need to enable URL Rewrite or HTTPS Decryption to establish a basic connection. These are separate from the steps in this guide. Keep a copy of your current configuration before exploring more detailed Rules, and avoid making several changes at once. After choosing Global Routing, return to Home to connect.
STEP 03 / CONNECT
Home: Select a server and turn on the connection switch
After returning to Home, select the server you just imported under SERVER. Check that the selection indicator is on the intended entry. If the list contains several entries, seeing a server name does not mean it is selected. Then check Global Routing again to make sure it matches your choice in the previous step. This helps avoid mistaking a Direct connection for a proxy test.
Turn on the connection switch at the top. When disconnected, this area may show Not Connected. The first time you connect, the system may prompt you to approve adding a VPN configuration. Check the app name and prompt, confirm that it was triggered by your action, then approve it and complete any required device verification. This allows the system to create the network configuration; it does not change your existing service’s validity or add servers to the list.
If you canceled the prompt, return to the app and try connecting again. Check whether the system still needs your approval. If the device is managed by an organization or restricted by system settings or other network configurations, do not repeatedly delete settings; first check which configurations are allowed. If another VPN connection is active, confirm which one is currently enabled so you do not mistake its status for Shadowrocket’s.
After approving the prompt, return to Home and check whether the status at the top changes from disconnected to connected. If the switch turns on and then off again, stop here and troubleshoot before changing Rules, DNS, or protocol settings. First confirm that the server is still selected, then note any message from the app and what the system does. The troubleshooting section below covers these symptoms.
The connection status only indicates the current state of the app and system connection process; it does not prove that a particular website is accessible. Even when the status at the top looks normal, run a test and open an actual webpage. On iPad, follow the same sequence: select a server, confirm the mode, turn on the switch, and respond to the system prompt. The layout may differ, but the interface labels and status changes are the same cues.
STEP 04 / CHECK
Connectivity Test: Check the test result and actual access
After connecting, run Connectivity Test on Home. The result shows how the selected test method responded; it is not a general measure of how well every app will work. A displayed time reflects that specific test and does not directly indicate webpage loading speed. If the test fails, consider the test method and actual webpage access together.
Next, open a browser and visit a familiar page with stable content, then visit the page you want to check. Make sure the page actually reloads rather than displaying cached content. Check whether the domain resolves, whether the page keeps loading, whether a certificate warning appears, and whether the content fully loads. This helps you distinguish a normal connection status from a successful request to a specific site.
With Config selected, check the Rule results too
With Config selected, different destinations may use DIRECT or PROXY. So one page loading does not mean another page uses the same route. If request logs are available, use the time and domain from your recent visit to check the matching Rule and final action. If there is no log entry, do not assume the expected Rule matched just because the page loaded.
To compare modes, keep the same server and destination, and switch Global Routing once to compare Proxy with Config. If Proxy works but Config fails, check the Rules and configuration first. If both modes fail, check the server details, network, or DNS resolution. Change one condition at a time so the results are comparable.
For everyday use, keep the settings you have verified. You do not need to enable On Demand or change several DNS options at once. First confirm that connecting and disconnecting manually work as expected. Then see the update, organization, and backup instructions in the Subscription Guide. For a specific error, continue troubleshooting in Troubleshooting.
STEP 05 / DIAGNOSE
Settings: Troubleshoot one issue at a time
Start troubleshooting at the earliest step that failed. If no server has been imported, do not start by changing Rules. If the connection switch will not stay on, do not start by comparing webpage speeds. If only one destination fails, do not rebuild every entry. Keep your existing working settings, check one item, then repeat the same action to see whether anything changed.
Subscription saved, but no servers appear
Return to the subscription entry and check the full URL for spaces, line breaks, or punctuation copied from a message. Confirm that your current network can reach the subscription URL, then retry using the app’s update option. If the URL returns a sign-in page or ordinary webpage, the app cannot parse it as subscription data. To check the subscription status, contact your provider using the details you already have. Do not show the full URL in a public screenshot.
Do not delete a server that still works. First determine whether the request failed, the URL does not contain subscription data, or the subscription currently has no entries; each requires a different next step. For the full process of updating subscriptions, removing duplicates, and backing up before deletion, see the Subscription and Server Management Guide. You do not need to do all of this during your first connection.
Server is listed, but the switch turns off or connection fails
First confirm that the entry you checked is selected on Home. Then recheck Type, Host, Port, and the authentication fields. Spaces before or after a password or UUID, an incorrect transport setting, or a mistyped port can leave an entry saved but unusable. Compare manually entered details against your existing information, one field at a time, rather than trying several guesses.
Next, check that system approval is complete and whether another VPN configuration is affecting the connection. If the problem occurs only on one network, compare Wi-Fi and cellular data if available, keeping the server, mode, and destination the same. This narrows down the cause without mixing network and configuration changes.
Connectivity Test passes, but webpages will not load
Open Settings and check Test Method to see exactly what the test verifies. Different methods have different success criteria, and a passing test does not replace an actual webpage request. Check that the device date and time are correct, then review DNS and Rules in the active configuration. Do not enter several unfamiliar addresses just because you see a DNS-related error. Note your current settings first and restore a state you understand before comparing changes.
If Proxy works but Config does not, open Config and check the Rule that matches the destination and its final action. If only one page fails, the destination service itself may be the issue. Do not dismiss a certificate warning just to complete a test; first check the device time and whether related settings have been changed.
Before using Diagnostics, preserve the current state
Use Diagnostics in Settings for further investigation. When preparing a report, note the step where the issue occurred, the routing mode, the network type, and any error message. Before sharing, hide subscription URLs, authentication details, and any request records that are not needed. Basic troubleshooting usually does not require changing every option under Proxy, TCP, or UDP, or enabling On Demand.
After reconnecting, repeat the verification in step four to make sure the page is not showing cached content. For more help with DNS, Rules, or subscription issues, find the matching symptom in Troubleshooting. To maintain existing servers over time, read the Subscription Guide. This getting started guide provides a repeatable sequence for importing details, choosing a route, connecting, and verifying access.