Official Guide · Features and Settings

Shadowrocket Features and Settings

Choose how traffic is handled in Home, review rules in Config, and adjust connection and diagnostic options in Settings. This page uses the iPhone / iPad interface as an example; settings locations and available options may vary by platform.

01 Home

Routing modes

Global Routing determines how Shadowrocket handles intercepted traffic while connected. Open Home, tap Global Routing, then choose Config, Proxy, or Direct for your needs. The routing mode and connection toggle are separate settings: choosing a mode does not turn the connection on or off.

Three common Global Routing modes
Interface option How it works When to use it
Config Matches traffic against the active configuration's rules in order. Everyday routing—for example, sending specified domains direct while handling other requests according to the configuration.
Proxy Sends intercepted traffic through the selected proxy server without applying the configuration's rules individually. Temporarily check whether a server can forward traffic, or determine whether a problem is related to rule matching.
Direct Sends intercepted traffic directly to its destination without using a proxy server. Compare with proxy results to see how the destination behaves over your current direct connection.

When troubleshooting the same site, keep the device, network, and test address consistent, and change only one mode at a time. If Proxy works but Config does not, first check the active configuration, the rule matched by the request, and its policy. There is no need to switch servers first. Return to your usual mode after testing. Direct does not turn off the connection. To compare with the system's behavior while the client is disconnected, turn off the connection toggle in Home and test again.

02 Config

Routing rules

Rules specify both what to match and what to do when a match occurs. In Config, find the active configuration and save a copy before editing its rules. Return to Home and make sure Global Routing is set to Config; otherwise, even a correctly written rule won't determine how traffic is routed.

Match criteria: domains and IP addresses

DOMAIN matches an exact domain, making it suitable for a single specified host. DOMAIN-SUFFIX matches a domain suffix, grouping a domain with its subdomains. DOMAIN-KEYWORD matches a string within the domain name; it has a broader scope and may also match unrelated sites with similar names. When you know the exact domain, prefer the more specific rule to avoid widening the match unnecessarily.

IP-CIDR and IP-CIDR6 match IPv4 and IPv6 ranges, respectively. GEOIP matches based on the geographic classification of the destination IP; it does not match domain suffixes or the visitor's location. A domain may resolve to different IP addresses, so the same site may not match the same IP rule on different networks.

Policies: first match wins

PROXY routes matching requests through a proxy, DIRECT connects to the destination directly, and REJECT blocks the connection. Rules are checked from top to bottom, and the first match determines the result; the client does not automatically move more specific rules to the top. Put FINAL last to set a policy for requests that did not match any preceding rule.

DOMAIN,static.example.com,DIRECT
DOMAIN-SUFFIX,example.com,PROXY
FINAL,DIRECT

In this example, static.example.com matches DOMAIN first, so it connects directly. Other requests matching the example.com suffix go through the proxy, and FINAL handles everything else. If you swap the first two lines, the suffix rule will match static.example.com first. Test one exact match, one suffix match, and one unmatched request to spot ordering issues more easily than by opening just one webpage.

03 SERVER

Subscriptions and servers

SERVER is in Home, where you can view and select added servers. If you have only one server, add it manually with Add Server: choose the protocol specified in your server details, then enter the address, port, and required fields. Shadowsocks, VMess, VLESS, Trojan, WireGuard, and Hysteria2 use different fields. If the selected type seems wrong, check the protocol details first rather than trying the same parameters under different types.

If you already have a subscription URL, choose Subscribe in Add Server, enter your URL, and save. A subscription provides a server list; saving or updating it does not select a server or establish a connection. Go back to Home and check that the selected item under SERVER is the one you intend to use. Then connect and run Connectivity Test. Check the selection again after the list updates, as the previously selected item may have been removed or replaced.

If manually added servers work but a subscription won't update, first check that the URL was copied in full, that your current network can reach its source, and that the link is still valid. If the list updated but only one entry fails, check that server's settings. Subscription URLs and server fields may contain credentials; don't share the full URL or an unredacted configuration when asking for help.

See the guide to importing a configuration and connecting →

04 Settings

On Demand

On Demand controls when the system establishes a VPN connection based on conditions; it does not determine how traffic is routed after connection. For first-time setup, approve the system's VPN configuration request and confirm that a manual connection works. Then open On Demand in Settings and set the network conditions you need from the options available.

Start with one clear condition. For example, if you want it to trigger only on cellular, test that setting by itself first. After saving, test both joining and leaving that network, then check the connection status in Home. If connections keep starting unexpectedly, review the automatic trigger conditions. If the connection is active but traffic takes the wrong route, check Global Routing and your rules. To rule out automatic reconnections temporarily, turn off On Demand and test manually with the toggle in Home.

05 Data

Traffic statistics

Open Data to view the traffic recorded by Shadowrocket. To troubleshoot a specific action, note the statistics beforehand, visit a known destination, then return to Data and compare the figures using the same metric. If the interface offers time ranges or filters, keep them consistent. Background requests may also generate traffic during the test.

An increase in traffic only confirms that data was transferred; the total alone cannot tell you whether a request matched PROXY or DIRECT. To confirm the route, review diagnostic logs alongside the rule match results for the same time. The figures in Data may not cover the same usage as your carrier's device-wide billing. For cellular usage, refer to the corresponding statistics in your system settings and from your carrier.

06 Settings

Common settings

Check the following items one at a time based on what you're experiencing. Note the original settings, change only one item, and repeat the same test on the same network.

DNS: domain name resolution

DNS resolves domain names to IP addresses. If only domain-based access fails or the same site behaves differently across networks, check the DNS options in Settings and see whether the active Config specifies DNS settings. Change resolution options only if needed, then retest with the same domain. Changing DNS does not replace the proxy server or fix its authentication details. If a rule depends on the destination IP, a different resolution result may also affect which IP range rule matches.

Test Method: connection test method

Test Method determines how a connection test runs. Check the current method in Settings, then return to Home and run Connectivity Test. Keep the test method, network, and destination the same when comparing results. If the method uses a test URL, a failure may mean that destination did not respond—not that all destinations are unreachable. A successful test only confirms that this test passed; verify the service you actually need separately.

Today Widget: quick access from a widget

Today Widget lets you view connection information or access quick actions from the system's widget interface. Check the options available in Settings, then see whether the widget can be added from your system's widget screen. Available features depend on what your device displays. If the widget and app show different statuses, open Home to confirm the connection state. The widget does not replace On Demand or select routing rules.

iCloud: configuration sync

Before enabling the iCloud sync option in Settings, make sure each device is signed in to the intended account and that the system allows Shadowrocket to use iCloud. After enabling it on one device, check what appears on another and confirm the configurations you need have synced before editing them. Syncing does not mean both devices will use the same selected server or connection status; after switching devices, check the active configuration and selected item under SERVER. Keep a separate copy of important configurations before syncing.

Diagnostics: find where a connection fails

To troubleshoot, open Diagnostics in Settings and note when the issue occurs and which network you're using. Then retry the failed action once. First identify which of these applies: the domain did not resolve, the server connection was not established, or the connection succeeded but the rules routed traffic incorrectly. Compare the diagnostic record with Global Routing, the selected server, and the test destination at that time to decide what to check next. If you share a log, include only the relevant excerpt and remove subscription URLs, authentication fields, and other private information.

See the Settings reference →

Official Guide · Platform Information

Supported platforms and availability

Shadowrocket is proprietary commercial software. The iPhone / iPad version is a one-time $2.99 purchase on the U.S. App Store; check the App Store page for current pricing and system requirements. The Mac (Apple Silicon and Intel), Windows, Android, and Linux versions are free, with installers available from this site at /dl/shadowrocket/.

A one-time app purchase is not a service plan. This is the Shadowrocket official website and guide. It does not provide, sell, or recommend proxy servers, subscriptions, or proxy services. Importing and connecting require subscription or server details you already have.

On the App Store product page, confirm that the developer is Shadow Launch Technology Limited, the app ID is 932747118, and the icon matches the official one.

See download guides for each platform →

Official Shadowrocket Downloads