Official Manual · Features
Shadowrocket Features and Settings
Use Home to choose how traffic is routed, manage rules in Config, and check usage and connection behavior in Data and Settings.
The examples below use the iPhone / iPad interface. On other platforms, follow the labels and options shown on your device.
01 Home
Three Global Routing modes
Choose a routing mode under Home → Global Routing. The connection switch at the top controls whether Shadowrocket handles traffic; Global Routing determines what happens to traffic it handles. Changing modes does not switch servers or edit rules in Config. After switching, make a new request to check the result; existing connections are not a reliable basis for comparison.
| Mode | How traffic is handled | When to use it and what to check |
|---|---|---|
Config |
Matches destinations against the active configuration's rules and applies the policy for the matching rule. | For everyday rule-based routing or checking whether a rule works. First confirm the expected configuration is active, then review rule order and the final policy. |
Proxy |
Routes traffic handled by the app through the selected proxy server instead of applying rules individually. | Use it to check whether a server can handle requests. Confirm the right server is selected, then switch back to your usual mode when testing is done. |
Direct |
Sends traffic handled by the app directly to its destination without using a proxy server. | Use it to compare the local network route. Direct does not turn off the connection; to compare behavior with and without traffic interception, test separately with the connection switch off. |
02 Config
Rule types, order, and policies
Config stores routing rules. Edit rules in the active configuration, return to Home, set Global Routing to Config, and test. The start of a rule defines what it matches; the final field specifies what to do: PROXY routes through a proxy, DIRECT connects directly, and REJECT blocks the request. Rules are generally checked from top to bottom, so put specific exceptions before broader matches.
DOMAINmatches an exact domain, useful for handling a single host.DOMAIN-SUFFIXmatches a domain suffix, covering both the base domain and its subdomains.DOMAIN-KEYWORDmatches a string contained in the domain; short keywords can easily match unrelated domains.IP-CIDRandIP-CIDR6match IPv4 and IPv6 ranges, respectively. When troubleshooting, first check which address family the destination actually uses.GEOIPclassifies a destination by its IP address location; it does not identify the user's location. A domain suffix is not a substitute for an IP geolocation lookup.USER-AGENTdepends on an available request identifier and is not a general-purpose filter for app names.FINALapplies when none of the preceding rules match and is usually placed last in the configuration.
This example uses sample domains: route status.example.com directly, send other domains under example.com through a proxy, and route all remaining destinations directly. If you reverse the two domain rules, the suffix rule matches the status page first, so its request will not go direct.
DOMAIN,status.example.com,DIRECT
DOMAIN-SUFFIX,example.com,PROXY
FINAL,DIRECT
For testing, choose one address that should match the exception and another that should match the general rule. If the page still has issues, remember that it may request other domains too; a match for the main address does not tell you how image, login, or API requests are routed.
03 Home
Importing subscriptions and managing servers
A subscription is an updatable group of server entries; an individual server is a separate connection entry. If you already have a subscription URL, tap Add Server on Home, choose Subscribe, enter the URL, and save. Get subscription URLs from your service provider. After refreshing, confirm that the group contains entries, then select one from the list. A successful import only means the client read the entries; it does not mean every server can connect.
If you have details for a single server, tap Add Server, choose the protocol, then enter the address, port, and any authentication and transport settings it requires. The fields differ for Shadowsocks, VMess, VLESS, Trojan, Hysteria2, WireGuard, HTTP, and SOCKS5. Use the details you were given; for example, do not apply VMess authentication and transport settings to another protocol. To import a QR code, use Scan QR Code and check the detected type and address before saving.
Refreshing a subscription may replace or remove entries in its group, so do not keep important edits only in a subscription entry. If an entry with the same name remains after refreshing but will not connect, select it again, verify its address and protocol, and test it. If the entire group cannot be read after an update, first check that the URL is complete and accessible and that the response format is supported; do not start by changing ports or authentication details one by one. Subscription URLs and QR codes may contain access credentials, so do not post them publicly while troubleshooting.
04 Settings
On Demand connections
On Demand controls the network conditions under which the system starts a VPN connection; it does not decide whether an individual domain uses a proxy or connects directly. First connect manually from Home and approve the VPN configuration in the system prompt. Confirm that the selected server and routing mode are as expected. Then go to Settings → On Demand, enable the feature, and choose the network conditions shown on your device that should trigger a connection.
After saving, test over Wi-Fi and cellular networks as applicable to your setup; devices without cellular connectivity only need a Wi-Fi test. After each network change, make a new request and check the connection status on Home. On Wi-Fi networks that require a web login, pause On Demand, complete the login, and then enable it again. If the connection starts again after you disconnect manually, first check whether the current network still meets the trigger conditions, then check the connection switch.
05 Data
Data and traffic statistics
Use Data to view traffic recorded by the client. Check the connection status on Home, open Data, and note the upload and download counters for the displayed period. Visit a known destination, then return and compare the readings. To measure traffic for a specific action, compare the before-and-after values and minimize background network activity from other apps.
These statistics may not match your carrier bill, the system's cellular counters, or your service provider's usage figures. Each may use a different time period, scope, or traffic measurement method. If the counters do not change, first make sure the request was not served directly from an app cache, then check the connection status and statistics period. An increase means the client recorded traffic, but the counter alone cannot show which rule matched or determine your subscription balance.
06 Settings
Common Settings
Settings can change DNS resolution, testing, and how you use Shadowrocket across devices. Change one option at a time, then retest with the same network and destination. If the result gets worse, revert that option before checking anything else.
DNS: domain name resolution
DNS determines how domain names resolve to IP addresses. First check the DNS options in Settings, then see whether the active Config specifies a DNS server or resolution method. To adjust a configuration, edit it using a supported format, save, and test a domain that previously failed. If an IP address works but a domain name does not, check the DNS result first. Changing DNS servers can also affect local network names, so access to an external website alone does not confirm that the settings are correct.
Test Method: server testing options
Choose a test method under Settings → Test Method, then return to Home and run Connectivity Test. If the interface offers a test address, keep the address, method, and network the same when comparing servers. Different methods may test different stages, so their results should not be ranked together. Low latency does not necessarily mean faster page loads, and a single timeout does not necessarily indicate a server problem. Retest, then verify with the app or website you actually need to use.
Today Widget: system widget access
Check Today Widget options in Settings, then look for available controls in the system's widget interface. Widgets provide shortcuts to the actions or status they support; they are not a separate configuration. After using a widget, return to Home to confirm the current server and Global Routing mode. If the system does not show this widget, use the widget interface supported by your current system.
iCloud: syncing across devices
Check the iCloud sync options and available sync scope in Settings. Before enabling sync, confirm that the system allows Shadowrocket to use iCloud. Keep any configuration you need on this device, then turn on sync. On another device, check which items appeared and which configuration is selected. Synced content, the active configuration, and system VPN authorization are separate; don't assume another device will select the same configuration or connect automatically.
07 Settings
Diagnostics: connection troubleshooting
Use Diagnostics to identify where a connection fails. Open Diagnostics in Settings, review the available options, and enable the diagnostics you need. Return to the affected app and reproduce the failed request once. Note the time, destination, and current routing mode, then look for entries from that time in the diagnostic results. This helps avoid confusing failures from background apps with the request you are investigating.
- No system connection established: Check system VPN authorization, the connection switch on Home, and the On Demand conditions first.
- Connected, but the server test fails: Check the selected server, protocol, and port. Determine whether the issue is a connection timeout or an authentication failure; do not change DNS and routing rules at the same time.
- Server test passes, but one destination fails: Check DNS resolution first, then review the rule that matches the destination and its final policy. Change only the relevant setting and retest the same destination.
Diagnostic logs may contain destinations, network addresses, or configuration details. Keep only the excerpts needed to resolve the issue, and redact private addresses, credentials, and full subscription URLs before sharing. When troubleshooting is complete, turn off any logging options enabled just for the test.
For steps starting with import, see Getting Started. To check rule terminology, see the glossary.
Platforms and how to get Shadowrocket
Get the iPhone / iPad version from the App Store product page for a one-time US App Store purchase of $2.99. Check the App Store page for system requirements. The Mac (Apple Silicon and Intel), Windows, Android, and Linux versions are free; installers are available only from this site under /dl/. See the download page for platform links and system prompts.
A one-time client purchase is not a service subscription. This manual explains how to use server details or a subscription you already have. Get subscriptions from your service provider; this site does not provide, sell, or recommend servers or subscriptions.