Aug 24, 2026 · Troubleshooting · About 8 min

Shadowrocket VPN Setup on iPhone: Why It Asks to Add a VPN Configuration

Learn why Shadowrocket asks to add a VPN configuration, where to find it in Settings > VPN, and how to restore the connection toggle if you declined or removed it.

At a glance

When you turn on the connection in Shadowrocket for the first time, iOS needs your permission to create a VPN configuration. This guide is for iPhone and iPad users who see an authorization prompt, find the connection toggle switching off immediately, accidentally delete a VPN entry, or have a connection restart after turning it off. First, distinguish the system configuration from the server settings in the app; then follow the steps to restore authorization and check On Demand and the connection status. These steps assume you already have your own service provider and connection details.

Add VPN Configuration: Granting System Permission to Connect

The connection toggle on Shadowrocket’s Home screen is more than a regular page setting. Connecting uses Apple’s network extension framework to save a VPN configuration in iOS and start the associated tunnel. That’s why the first connection usually brings up an “Add VPN Configuration” prompt. On an English-language device, you may see “Would Like to Add VPN Configurations.” This is a system permission request—not a purchase prompt, and not confirmation that the server has connected.

After you allow it, iOS saves a VPN entry associated with Shadowrocket and may ask you to authenticate your device. The network activity notice explains the scope of VPN access: when enabled, traffic routed through the tunnel is handled by the corresponding network extension. Continue only if you recognize Shadowrocket as the app you just opened and understand where the current configuration came from.

3 places to check
Home, Config, and system VPN settings each have a different role
2 separate actions
Treat saving the configuration and connecting successfully as separate steps
1 retest
After each change, test connecting and disconnecting manually

Bottom line: Check the VPN entry first, then troubleshoot the network

If Shadowrocket does not appear in the system VPN list, focus on authorization or device restrictions first. If the entry exists and shows as connected, check the in-app settings, routing, and DNS instead of repeatedly deleting the system configuration.

VPN Configuration Profile vs. Config and the Connection Toggle

In this context, “VPN profile” usually means the VPN entry created by the app in the system VPN list. It is different from a general profile installed through device management, and from a Config file in Shadowrocket. The similar names can make it seem as though all three should be deleted together, but they need to be checked separately.

LocationWhat it stores or controlsWhat it does not confirm
Shadowrocket → HomeServer entries, the current selection, and the connection toggleA server entry does not mean system authorization has been granted
Shadowrocket → ConfigRules, DNS, and other settings in the configuration fileSelecting a configuration file does not mean the tunnel is running
System Settings → VPNThe VPN configuration saved by the app and its connection statusA connected status does not guarantee that a website is reachable
Shadowrocket → Settings → On DemandWhether a connection starts automatically when conditions are metAutomatic connection cannot fix incorrect authentication details

On iPhone and iPad, find the entry in Settings → General → VPN & Device Management → VPN. Some versions of iOS also provide a VPN shortcut, and its name and location may vary with the system language and layout. If you can’t find it, search for “VPN” in Settings.

The in-app toggle requests that the VPN start or stop; the system VPN page shows the actual status of the corresponding configuration. These are not two unrelated connections. Status changes may take a moment, so wait for the transition to finish before checking. If there are multiple VPN entries, make sure you identify the one that is active rather than relying on a general toggle.

First Connection: Grant System Permission Step by Step

Before you begin, go to Home and confirm that the selected server is from a service provider you already use and that its settings are saved. System authorization only controls whether the connection can start; it does not fill in the address, port, or authentication details. Start with a manual connection while troubleshooting to keep automatic triggers from affecting the results.

  1. Pause automatic connection

    Open Shadowrocket → Settings → On Demand, note the current settings, and temporarily turn off automatic connection. This makes it possible to run a repeatable manual test. Restore your preferred settings after troubleshooting.

  2. Check the selected server

    Return to Home and confirm that the server you want to test is selected. Compare Type, server address, port, and authentication fields with the details from your provider. For example, if the provider specifies port 443, make sure that’s the saved value. Don’t change the port just because an authorization prompt appeared.

  3. Turn on the connection

    Turn on the connection toggle on Home and wait for the system’s Add VPN Configuration prompt. Don’t tap the toggle repeatedly or switch to another app as soon as the prompt appears.

  4. Authenticate your device

    Confirm the request is from Shadowrocket, tap Allow, and complete device authentication as prompted. Enter your device passcode only in the system authentication screen—not in a server password or subscription field.

  5. Check the connection status

    Return to Home and wait for the connection result. Then go to Settings → General → VPN & Device Management → VPN and check the Shadowrocket entry. Note separately whether the entry exists and whether it shows as connected, then test a known working website.

Restore Access After Declining or Deleting a VPN Entry

If you tapped Don’t Allow the first time, the request to save a VPN configuration probably wasn’t completed. This does not mean your server settings in the app were deleted. Return to Shadowrocket → Home and try connecting again. If the system prompt reappears, follow the authorization steps above. VPN configuration access is not a regular notification permission, so there’s no need to look for it in notification settings.

If you manually deleted the Shadowrocket entry from the system VPN page, the app may need to create a new configuration and request permission again the next time you connect. First check that the server is still listed on Home and that the required configuration is still in Config. Don’t immediately import everything again; duplicate imports can create multiple entries with similar names and make troubleshooting harder.

Don’t start with Reset Network Settings. It can also affect saved Wi-Fi and other network settings, creating extra work to restore them. If the problem occurs with just one server and the system VPN entry connects normally, check that server’s settings and network conditions instead of resetting the device’s network settings.

Common Prompts and a Toggle That Turns Off: Troubleshoot by Symptom

An authorization prompt, a disconnected status, and an actual connection error are different kinds of information. The examples below retain key phrases from common English-language prompts; the wording may vary with your system language. The first two items are not server errors. When noting what happened, also record whether it was before allowing access, after allowing it, or after connecting and trying to open a webpage.

Prompt: "Shadowrocket" Would Like to Add VPN Configurations

Why it appears: iOS is asking permission to save a VPN configuration. Authorization has not been completed yet.

What to do: If the request matches what you’re doing and came from Shadowrocket, tap Allow and complete device authentication. If you’re not ready to connect, cancel and start again from Home when you are.

Status: Not Connected

What it means: The current VPN configuration isn’t connected. This status alone can’t tell you whether it was turned off manually, failed to start, or can’t reach the remote server.

What to do: Return to Home and try connecting manually once, then check the error shown in the app. If the VPN entry is still there, don’t assume that the authorization was lost just because it’s disconnected.

The toggle switches off immediately, but there’s no new prompt

First check whether the system VPN entry is still there, then review the error Shadowrocket shows for that connection attempt. Once authorization is complete, a later failure may occur while starting the network extension, establishing the connection, or authenticating. Note the exact error instead of assuming what went wrong based only on the toggle switching off.

Connected, but websites won’t load

At this point, the issue is usually no longer about whether the system configuration can be added. Check the current mode under Home → Global Routing, along with the rules and DNS in Config. Don’t repeatedly grant system permission to fix webpage access, and don’t assume that a successful server latency test means every request will work.

VPN Reconnects After You Turn It Off: Check On Demand

If the VPN reconnects after you turn it off manually, the toggle may be working as expected. Automatic connection settings under Shadowrocket → Settings → On Demand may request a new connection when network conditions match. The system VPN entry may also show Connect On Demand. Check both the app settings and the options shown in iOS.

  1. In Settings → On Demand, note the existing conditions and temporarily turn off automatic connection.
  2. Return to Home, turn off the connection, and wait until the system VPN page shows that it’s disconnected.
  3. On the same network, open a regular webpage and see whether the connection starts by itself. If you need to switch between Wi-Fi and Cellular, record the result of each separately.
  4. If it no longer reconnects automatically, restore the On Demand conditions you need and test them again. If it still reconnects, check for other VPN entries or device management policies.

Bottom line: Restore automatic connection after a successful manual test

First confirm that a manual connection, browsing, and disconnect all work reliably. Then restore On Demand. This helps distinguish a connection restarted by a trigger condition from a tunnel that can’t start, so you don’t end up changing settings back and forth between two different issues.

What to Record Before Reporting a Problem

If the steps above don’t resolve the issue, a reproducible sequence is more useful than simply saying “it won’t connect.” Include the authorization prompt, system status, and app status—but don’t share secrets that could let someone else use your connection service.

Shadowrocket is a paid client for Apple platforms, primarily used on iPhone and iPad, and is available exclusively from the App Store. A one-time app purchase does not include connection service. Check the App Store listing for pricing, system requirements, and compatibility with other Apple devices.

Verify on the App Store