Official Manual · iPhone / iPad

Shadowrocket Quick Start

Start by adding a working server, then choose a routing mode and connect. For the first test, keep the selected server and device network unchanged so you can tell whether an issue is related to the server, connection, or rules.

01 / Add or import

Add a server or import a subscription in Add Server

Open Shadowrocket, find SERVER in Home, and tap Add Server. Start by checking Type. Use the subscription workflow if you have a link for updating a server list. Use manual setup if you have the address, port, and credentials for one server. Subscription links and server addresses serve different purposes; do not enter a full subscription link as the Host.

Have a subscription link? Choose Subscribe

Select Subscribe under Type, enter the full subscription link provided by your service provider, and save. Preserve the link's query parameters when copying it, and check for accidental spaces at either end. Return to Home and check whether server entries appear under the subscription group. If the group appears without any entries, try updating the subscription once and then check that the address is still valid. Adding the same link repeatedly will not fix an update failure.

Have server details? Enter them for the protocol

Select the protocol provided by your service provider under Type, then fill in the fields shown for that protocol. The Host, Port, Password, and Method shown in the screenshot are examples for a particular protocol; not every protocol displays the same fields. If the app requires a value that your service provider has not supplied, ask them to confirm it rather than filling in details from another server. If your service provider gives you a QR code for the server, import it with Scan QR Code. After importing, check that the Type and address are as expected.

After saving, return to Home, tap the entry you plan to use under SERVER, and confirm that it is selected. For your first setup, choose one entry and avoid switching servers while testing. Subscription links, passwords, and QR codes may contain access credentials; do not include them in screenshots or public messages when reporting an issue.

Add Server screen showing Type, Host, Port, Password, Method, and Scan QR Code
Official App Store screenshot: select Type in Add Server, then enter the corresponding fields.
02 / Routing mode

Choose Config, Proxy, or Direct in Global Routing

After selecting a server, tap Global Routing in Home. The server entry determines the available proxy endpoint; Global Routing determines how the client handles connections. Selecting a server does not mean every request will use it. Choose one of these modes for your test:

  • Config: Handle connections according to the rules in the current configuration file. Requests matching DIRECT connect directly; requests matching PROXY use the proxy route specified in the configuration. Choose this option when you need rule-based routing.
  • Proxy: Route connections handled by the client through the proxy. Use it as a comparison test when you first want to check whether the selected server can handle a real request, separating the effect of configuration rules.
  • Direct: Do not route through the proxy. Use it to compare how the same target behaves with a direct connection. This does not turn off the connection switch in Home; to check behavior without the app's connection enabled, return to Home and turn off the switch.

If you choose Config, open Config at the bottom of the screen and check which file is selected in the file list. The Config tab at the bottom manages configuration files; it is a different entry point from the Config option in Global Routing. Seeing servers under a subscription group does not mean the corresponding rules file is selected.

To check how a specific target is handled, open the file you use and review Rule. For your first connection, avoid changing Hosts, URL Rewrite, or HTTPS Decryption at the same time; otherwise, it will be difficult to identify what caused a failure. After confirming the mode, return to Home. Refer to the glossary for rule keywords.

Config file editor showing General, Rule, Hosts, URL Rewrite, HTTPS Decryption, and Add Rule
Official App Store screenshot: the Config file editor. Choose a routing mode in Global Routing on Home.
03 / Connect

Turn on the connection switch in Home

Return to Home and check two things again: the expected entry is selected under SERVER, and Global Routing shows the mode you just chose. Once both are correct, turn on the connection switch at the top. Not Connected in the screenshot is the state before connecting; it is not a setting to fill in or select.

When connecting for the first time, your iPhone or iPad may show a system request to add a VPN configuration. Confirm it was triggered by turning on the switch in Shadowrocket, then allow it as prompted and complete any confirmation required by the device. Return to Home and check whether the switch stays on. If you denied the request, turn the switch on again in the app and follow the prompt; there is no need to import the subscription again.

If the switch turns off immediately after you turn it on, note that the connection is not staying active; do not treat this as a webpage access issue. Check whether another VPN is running on the device or whether a managed network configuration is in place. For a device managed by a workplace or school, ask the administrator whether adding a configuration is allowed. Do not remove managed settings.

If the switch stays on, continue to the next step. This indicates that the connection has started, but does not confirm that the server can reach a target or that every request matched the expected rule. Do not switch between Wi-Fi and cellular or change Global Routing yet, so the next test corresponds to this connection setup.

Home screen showing Not Connected at the top, with Global Routing, Connectivity Test, and the SERVER group below
Official App Store screenshot: check the server and routing mode in Home, then turn on the switch at the top.
04 / Verify access

Verify access with Connectivity Test and a real request

Tap Connectivity Test in Home and observe the result for the selected entry. The result reflects the response from that test at that time; it does not mean every site is reachable, and latency does not indicate actual download speed. If the test times out, keep the current server and network unchanged and try once more. A single timeout is not enough to identify where a failure occurred.

Then open a browser and enter an address you know is normally accessible in a new tab, or reload a page to make a new request. Do not rely on a page opened before connecting: displayed old content does not prove that a new request succeeded. To verify routing with Config, choose two targets whose rules you have checked: one should use DIRECT and the other PROXY. Record the results separately. If both open, access succeeded, but that alone does not prove which route each request used.

If you have a question about one target, compare it using the same address. Keep the server and device network unchanged, test under Config, then temporarily switch to Proxy and try again. If Proxy works but Config does not, check the selected file and the rule matching that target first. If both modes fail, this result alone does not establish that the rules are the cause. After testing, set Global Routing back to the mode you plan to use.

05 / Troubleshooting

Troubleshoot settings by identifying where the process fails

No entries in the list: check the import

If Home has no entries, return to the add-server steps and check Type, the save result, and the subscription update result. When importing with Subscribe, first confirm that the current network works, then check that the link was copied in full and has not been replaced by your service provider. If they supplied a new address, update it with the new address and check that an entry actually appears under SERVER.

The switch will not stay on: check system status

If the switch turns off just after you turn it on, first confirm that you allowed the system VPN configuration request, then check whether another VPN is connecting. If the connection drops only after leaving a particular Wi-Fi network, or turns itself back on after being switched off, open Settings, find On Demand, and check whether the configured conditions match the current network. If you do not use on-demand connections, you do not need to create a new trigger condition just to connect manually.

The switch is on but access fails: check one thing at a time

First turn off the switch in Home and confirm that the current network can open a page that is normally accessible without this app. If the underlying network works, reconnect and compare Config with Proxy using the same server and target. If the test continues to fail, return to SERVER and check the protocol, address, port, and any details required by your service provider. If the test responds but a particular page still fails, compare it with other known targets first; do not treat one site's issue as a complete connection failure.

To check the test conditions, open Settings and review Test Method. Check Diagnostics if you need to record more details. Change one setting at a time, then return to Home and repeat the same verification. If the server details do not match the information from your service provider, ask them to confirm. See the protocol reference for field descriptions and protocol comparisons.

Settings screen showing Test Method, On Demand, Diagnostics, Proxy, TCP, and UDP
Official App Store screenshot: check the test method, on-demand connection, and diagnostics in Settings.