Official Manual · Features

Shadowrocket Features and Settings

Use Config for everyday rule-based routing. To determine whether a problem is with a rule or a server, compare the results with Proxy and Direct.

The examples below use the iPhone / iPad interface. On Mac, Windows, Android, and Linux, the routing and troubleshooting principles also apply; system integration and settings may differ by platform.

01 · Routing Modes

Three Common Global Routing Modes

Open Global Routing from Home and choose Config, Proxy, or Direct. This setting determines how the client handles intercepted traffic; it does not turn the connection on or off, or switch the selected server. Config in Global Routing is a routing mode, while Config in the bottom navigation opens configuration management.

Interface optionHow it worksWhen to use it
ConfigRoutes traffic according to the rules in the current configuration.For everyday routing or to check whether a specific destination matches as expected.
ProxySends intercepted traffic through the proxy instead of routing it by individual rules.Temporarily bypasses routing rules to test whether the selected server can reach a destination.
DirectSends intercepted traffic directly, without forwarding it through a proxy server.To check whether the same destination is reachable directly on the current network.

For a meaningful comparison, keep the network, server, and test destination the same; change only Global Routing. If Proxy works but Config does not, check the matched rule and policy first. If both fail, check the server and network. Direct is not the same test as turning the connection off; disconnecting lets you compare against the system’s normal network behavior. When finished, switch back to your usual mode.

02 · Rules

Rule Types, Policies, and Match Order

Open the current configuration in Config and check [Rule]. Each rule specifies a match condition and the policy to apply when it matches. DOMAIN matches an exact domain, DOMAIN-SUFFIX matches a domain and its subdomains, and DOMAIN-KEYWORD matches a string contained in a domain. Use DOMAIN for a single host; avoid broadening the match with a keyword that could catch unrelated domains.

IP-CIDR and IP-CIDR6 match IPv4 and IPv6 address ranges, respectively. GEOIP matches based on the geographic classification of the destination IP; it does not indicate where a website is registered or what language its content uses. USER-AGENT requires the client to read the relevant request information, so it cannot identify the app behind every connection. FINAL handles requests that did not match earlier rules and is usually placed last.

Example: Match a single host before a domain suffix
[Rule]
DOMAIN,static.example.com,DIRECT
DOMAIN-SUFFIX,example.com,PROXY
FINAL,DIRECT

The first line is the exception. If the suffix rule is moved above it, static.example.com will match the suffix rule first.

DIRECT means connect directly, PROXY means route according to the proxy policy, and REJECT means reject the request. Rules are checked from top to bottom, and the first match takes effect. Keep a restorable copy of the configuration before editing it. Afterward, confirm that Home is set to Config, then test the exception, a regular destination, and a destination that should fall through to FINAL. Saving the file does not mean existing connections are already using the new rules.

Configuration guide: rule syntax and priority

03 · Server Management

Import an Existing Subscription or Add a Single Server

Manage Multiple Servers with Subscribe

If your provider has already given you a subscription URL, open Add Server from Home, choose Subscribe, enter the existing URL, and save it. After importing, go to SERVER, check the entries, select a server to use, and run Connectivity Test for an initial check. Seeing entries in the list confirms the import succeeded; it does not mean they can all connect.

Add a Single Server with Add Server

If you have connection details for one server, choose its protocol in Add Server, such as Shadowsocks, VLESS, or WireGuard, then enter the existing details for that protocol. Required fields vary by protocol; do not copy authentication values, transport settings, or ports from another entry. After saving, make sure the new entry is selected in SERVER.

After updating an existing subscription, check that the server you were using is still listed before deciding whether to select it again. The same entry name does not guarantee that its connection parameters are unchanged. If an update fails but the old entry still works, keep it for now and check whether the subscription URL has changed. If only a manually added server has stopped working, check that entry’s fields rather than rebuilding the entire configuration.

Subscription URLs and QR codes may contain access credentials. Before sharing a screenshot for help, hide URLs, QR codes, server addresses, and authentication fields. A one-time client purchase does not include a service plan. This site does not provide, sell, or recommend servers or subscriptions.

04 · On Demand

On Demand Controls When a Connection Starts

On Demand lets the system start a VPN connection when configured conditions are met. It is useful if you want to connect automatically on specific networks. It does not determine how destination traffic is routed: once connected, traffic is handled according to the mode selected in Global Routing.

  1. Turn off On Demand, then connect manually once from Home to confirm that the server and configuration work. If this fails, troubleshoot the manual connection first.
  2. Open On Demand in Settings and start by configuring one network condition for automatic connection. Save the setting, switch to that network, and try accessing a destination. Then return to Home and check the connection status.
  3. Next, switch to a network that should not trigger a connection and compare the result. If the connection starts again after you disconnect manually, check whether the On Demand conditions are still met. To test with the VPN fully disconnected, turn off On Demand before retesting.

When testing transitions between Wi-Fi and cellular, note the status before and after each switch. Do not change the server or DNS at the same time. If a network requires sign-in first, complete the system’s network sign-in steps before checking whether On Demand triggers as expected.

05 · Data Usage

Data: Check the Reporting Scope Before Reading Usage

Open Data to view traffic recorded by the client. Before interpreting the figures, check the reporting period and what the page includes. To measure the effect of one action, note the starting figures, perform that action once, and compare the results. Pause background downloads or syncing during the test where possible, so other requests do not affect the comparison.

Client records, the system’s cellular data statistics, and your provider’s dashboard use different measurement methods. Their reporting periods, connection coverage, and accounting may differ, so Data is not a carrier bill or a provider’s remaining allowance. If usage rises suddenly, first check when it happened and what was running in the background, then review the routing mode in use. A cumulative figure alone cannot show which rule matched a request.

06 · Common Settings

DNS, Test Methods, and Diagnostics

First check the connection status in Home, then find the relevant option in Settings. Reaching a server but failing to open one domain is different from failing to establish a connection altogether; these issues do not require the same setting changes.

DNS: Check How Names Are Resolved

DNS resolves domain names to addresses that apps use to connect. First review the DNS-related options in Settings, then open Config and check whether [General] in the current configuration includes dns-server. To compare system DNS, custom DNS, or DNS over HTTPS, note the original value and change only one setting at a time. Keep the network and test domain the same. If the results do not change immediately, the system or app may still be using a cached DNS response.

Test Method: Keep Test Conditions Consistent

Test Method determines how connectivity tests are performed. Check this option in Settings, then return to Home and run Connectivity Test. For comparable results, use the same method, network, and test destination. A successful test only confirms that the test passed using that method; it does not guarantee that the target app will work. Retest in the app where the issue occurs.

Today Widget: Check Widget Access

Today Widget is a system widget setting, not a separate routing mode. If it appears in Settings, configure it there, then check the system’s widget management screen to see whether it can be added or displayed. Its location and available actions depend on the system and client. If the displayed status is out of sync or the widget is unavailable, return to Home to check the actual connection status.

iCloud Sync: Check What Gets Synced

To sync between your own iPhone and iPad, first check the iCloud account and app permissions on both devices, then review the iCloud options and sync scope in Settings. Keep your existing configuration. After making a change on one device, check the corresponding item on the other. Even when syncing succeeds, verify the active configuration, server, and VPN permissions; the presence of a file alone does not confirm these settings.

Diagnostics: Record a Reproducible Issue

Open Diagnostics in Settings, reproduce the failure once, and note the network, Global Routing mode, test destination, and error message. If only one set of domains fails, check DNS and the matched rules first. If multiple destinations fail in proxy mode, compare the results with Connectivity Test, then check the current server’s protocol settings. Before sharing logs, remove identifiable network details and access credentials; keep only the relevant time period and error information.

See common questions and troubleshooting steps

Where to Get Each Platform Version

The iPhone / iPad version is a one-time $2.99 purchase on the App Store. Check the App Store listing for the current price and system requirements. The Mac / Windows / Android / Linux versions are free. On the store listing, verify the official app icon, developer Shadow Launch Technology Limited, and app ID 932747118.

The Mac version has separate installers for Apple silicon and Intel. Installers for Mac, Windows, Android, and Linux are available from this site at /dl/. See the all-platform downloads page for platform links and system requirements.