How to Set Up Shadowrocket for the First Time: VPN Permission and Home Screen Guide

To use Shadowrocket for the first time on iPhone or iPad, start a connection from Home and allow it to add a VPN configuration when prompted. This permission lets the system establish a connection; you’ll still need to check the selected server, routing mode, and connection results.

At a glance

This guide is for anyone setting up Shadowrocket on iPhone or iPad for the first time. Check the Home status switch, Global Routing, Connectivity Test, and SERVER in turn to distinguish between missing system permission, no server selected, a failed test, and rules that aren’t taking effect as expected.

First connection: Allow a VPN configuration

When you first open the app, Home shows Not Connected. This means there’s no active connection; it doesn’t mean the server has timed out. On some devices, the permission prompt appears only when you first switch on the Home screen toggle. If you open the screen and don’t see a prompt, that doesn’t mean setup has failed. If you already have server details, check the selected entry under SERVER before connecting.

  1. Open Home

    Launch Shadowrocket, go to Home, and check the status text and connection switch at the top. You can leave the connection off while reading instructions or editing a configuration; there’s no need to connect in advance.

  2. Start a connection

    Turn on the switch at the top of Home. When the system asks to add a VPN configuration, make sure the request is from the app you just opened. If the system dialog is in English, tap Allow.

  3. Complete system verification

    If the system asks for your device passcode, enter it only in the system verification screen. Your device passcode is not a server password and should not be entered under Add Server.

  4. Check the status

    Return to Home and see whether the status has changed to Connected. If you denied the request, try connecting again from Home. If no prompt appears, check the system’s VPN settings and whether your device is restricted by a school or workplace management policy.

Connected means the VPN tunnel is active on your device. It doesn’t guarantee the selected server is reachable or that all requests are routed through the proxy. If the connection turns back on after you switch it off manually, check Settings → On Demand in Shadowrocket. Enabled auto-connect conditions may reconnect the app when your network changes.

Global Routing: Choose how traffic is routed

Tap Home → Global Routing. The switch at the top controls whether the tunnel is active; Global Routing determines how traffic handled by the app is routed. When checking your setup for the first time, confirm the routing mode before checking whether the rules in Config are taking effect.

Config

Config

Matches traffic against the rules in the active configuration, in order. A matching rule can use DIRECT, PROXY, or another policy. If no earlier rule matches, FINAL in the configuration determines the fallback. No match does not mean the traffic goes direct.

Use when: You have specific rules and want to verify how the configuration routes traffic.

Proxy

Routes traffic handled by the app through the proxy, without choosing a path based on Config rules. Test the same destination with the same server and compare the result with Config mode.

Use when: You want to check whether a problem is related to your configuration rules.

Direct

Routes traffic handled by the app directly. Switching to Direct does not turn off the switch at the top of Home; the tunnel can still show as connected.

Use when: You want to compare direct access to the same destination on the same network.

Scene

Selects routing behavior based on configured scene conditions. Scene and On Demand do different things: Scene determines how traffic is routed in a given situation, while On Demand controls when a connection starts automatically.

Use when: You’ve configured scene rules and want routing to change with the active scene.

Connectivity Test: Understand test results and real-world access

Run Connectivity Test from Home to see the test results for entries in the SERVER list. A latency value means the entry responded under the current network and test conditions. It’s not a speed test and doesn’t prove that a website opened through the proxy. timeout means the test didn’t finish within the allotted time; a single result isn’t enough to conclude that the server is unavailable.

4 types
Global Routing:Config / Proxy / Direct / Scene
443
The default HTTPS port, not a fixed port for server entries
  • The test shows a value, but the website still won’t open: First confirm the result belongs to the currently selected entry. Then keep the server and network unchanged and compare the same website in Config and Proxy modes. If it works only in Proxy mode, check which rule in the active configuration matches the destination domain and where FINAL points.
  • Several entries time out: Disconnect first and make sure the device itself can access the internet. If both Wi-Fi and cellular data are available, test the same entry on each network. Don’t change the port or protocol at the same time, or you won’t know which change caused the difference.
  • The switch returns to Not Connected: Check system permission and device restrictions first. Don’t mistake a tunnel startup failure for high latency. During troubleshooting, note the top status, test result, and actual access result separately; they aren’t interchangeable.

SERVER: Add an entry and check the selected server

SERVER is the server list on Home. If you have your own server details, go to Home → + in the top-right corner → Add Server, select the correct Type, then fill in the fields required for that protocol using your existing details. If you already have your own subscription, use Type → Subscribe to add your own link. An entry appearing in the list only means it was added; running a test won’t confirm which entry is selected.

Check your details as you add an entry

Type
Choose the protocol listed in your server details, such as Shadowsocks or Trojan. Don’t guess based on the port.
Address
Enter the server domain or IP address from your details. Don’t use the address of a website you want to visit.
Port
Enter the port shown in your details. Use 443 only if your details explicitly specify it.
Authentication fields
Fill in only the fields required by the selected protocol, such as the encryption method and password for a Shadowsocks entry.

If your details are incomplete, check the original records first. Don’t cycle through protocols or ports to guess the missing information.

Check the status before connecting

SERVER
Return to Home, tap the entry you want to use, and make sure the selection indicator is on the right one.
Global Routing
Check the current routing mode. If you’re using Config, go to Config and confirm which configuration is active.
Home switch
After starting the connection, confirm the status shows Connected, then test a destination you know is accessible.
Connectivity Test
To troubleshoot, retest the selected entry on the same network. Note what happens before changing another setting.

After comparing results, restore your original routing mode so Proxy isn’t left on as your everyday setting.

If SERVER is empty, you can still explore the Home screen before adding your own connection details. Even with system permission enabled, you can’t test access that requires a server to route traffic. When reporting an issue, include the device, network type, routing mode, and error message. Don’t share passwords, full subscription links, or screenshots containing that information.

Download Shadowrocket