Shadowrocket Official Manual
Shadowrocket Glossary
Look up a definition by interface label, protocol name, or rule keyword. Each entry explains where the term appears and which step it affects.
Interface & Toggles
The toggle controls whether a connection is established; the mode determines how traffic is handled once connected. Check these separately when troubleshooting.
Home- Home brings together the connection toggle, Global Routing, Connectivity Test, and SERVER list. On first use, check which server is selected under SERVER, then check the status at the top. A server appearing in the list does not mean the client is connected.
Global Routing- Global Routing determines whether traffic handled by the app follows the configuration, uses a proxy, or connects directly. The three modes are Config, Proxy, and Direct. Switching modes does not change the rules file or turn on the connection toggle.
Config- In Global Routing, Config means requests are handled according to the rules in the current configuration. This is different from the separate Config screen for viewing or managing configurations: the Global Routing option determines whether rules are applied, while the screen lets you choose which configuration to use.
Proxy- In Global Routing, Proxy sends traffic handled by the app through a proxy. If the selected server can reach a destination in Proxy mode but not in Config mode, first check which rule matches that destination before changing server settings.
Direct- In Global Routing, Direct connects traffic handled by the app straight to its destination. This differs from turning off the top toggle: Direct changes how traffic is handled, while turning off the toggle disconnects the client’s VPN.
On Demand- On Demand lets the system start a VPN connection automatically when set conditions are met. If the connection returns on a qualifying network after you manually disconnect, check whether On Demand is enabled and whether the current network meets its trigger conditions.
Proxy Protocols
A protocol name describes how the client communicates with its peer. When entering details for a server you already have, make sure the protocol, authentication, and transport settings match the server—not just the domain and port.
Shadowsocks- Shadowsocks is an encrypted proxy protocol. The client and server must use compatible encryption methods. If the address and port are correct but the connection still fails, compare the encryption method and password; do not substitute values from another server.
VMess- VMess is a proxy protocol that typically uses a UUID as the user identifier. A matching UUID does not guarantee a complete configuration; check the transport type and its additional settings individually. If authentication fails, also check that the system date and time are correct.
VLESS- VLESS is a proxy protocol; the name alone does not indicate whether the connection is protected by TLS or another mechanism. Check the user identifier, transport type, and security settings separately. Do not reuse an entire set of settings just because two entries have the same address.
Trojan- Trojan is a proxy protocol that typically uses TLS to establish connections and a password to authenticate the client. If an error occurs during the TLS handshake, first check that the server name matches the certificate. A correct password cannot resolve a certificate validation failure.
Hysteria2- Hysteria2 is a QUIC-based proxy protocol that uses UDP for transport. Being able to open regular web pages does not mean UDP traffic to the server’s port is working. Comparing test results across networks can help distinguish network issues from configuration issues.
WireGuard- WireGuard is a UDP-based network tunnel protocol that identifies peers using public keys. The peer address specifies where to establish the tunnel; the allowed address range determines which destinations can use that peer. These serve different purposes, and private keys should not appear in troubleshooting screenshots.
Rule Keywords & Policies
A keyword specifies what to match; a policy specifies what happens after a match. In Config mode, rules are checked from top to bottom, and checking stops at the first match.
DOMAIN- DOMAIN matches an exact, complete domain name. The match value
example.comdoes not also matchcdn.example.com. Use this rule when you want to apply a policy to a single hostname.
DOMAIN-SUFFIX- DOMAIN-SUFFIX matches the specified domain and its subdomains.
DOMAIN-SUFFIX,example.com,PROXYmatches bothexample.comandcdn.example.com, but notnotexample.com.
DOMAIN-KEYWORD- DOMAIN-KEYWORD checks whether a domain contains the specified string. It does not check webpage paths, and the keyword does not have to be a separate domain label. Shorter keywords are more likely to match unintended domains. For a specific site, DOMAIN-SUFFIX is usually more precise.
IP-CIDR- IP-CIDR matches an IPv4 address range by its network prefix.
10.0.0.0/8represents a range where the first eight bits are fixed. If a narrow-range rule is an exception to a broader rule, put the narrow rule first. Use IP-CIDR6 for IPv6 ranges.
GEOIP- GEOIP matches a destination’s region using IP address database records. It does not use device location or infer a region from a domain suffix. If DNS returns different addresses for the same domain, the region matched may also change.
FINAL- FINAL specifies a fallback policy for requests that do not match any earlier rule.
FINAL,PROXYsends remaining requests through a proxy; it does not change requests already assigned DIRECT or REJECT by earlier rules. It is usually placed at the end of the rule list.
PROXY/DIRECT/REJECT- PROXY, DIRECT, and REJECT send matched requests through a proxy, connect directly to the destination, or block the connection, respectively. These names go in a rule’s policy field; they are not domain or address matching conditions. If a request fails after matching REJECT, first check whether the rule is intended to block it rather than changing servers.
Subscriptions & Configuration Files
This section assumes you already have a subscription or server details. The server list determines where to connect; rules in a configuration file determine which requests use that connection.
Subscribe- Subscribe imports a subscription URL you already have and retrieves its server list. Updating a subscription refreshes the list; it does not confirm that every server can connect. A subscription URL may contain access credentials, so hide it before sharing logs or screenshots.
Add Server- Add Server adds details for an individual server you already have. Select the protocol, then enter the address, port, and authentication fields using the details you have. After saving, check that the entry is selected in the SERVER list—adding and selecting are separate actions.
- Configuration File
- Configuration files can store settings such as rules, policies, and DNS. Which rules are applied depends on the configuration currently enabled. If edited rules do not take effect, first check that the active file is the one you edited, then confirm that Global Routing is set to Config.
- iCloud Sync
- iCloud sync keeps app-supported data in sync across eligible devices. After switching devices, check the app’s sync settings and confirm that the needed entries appear on the new device. Syncing, restoring App Store purchase records, and selecting the current configuration are separate steps.
- Purchased Items
- Purchased items lets you find apps acquired with your original purchasing account in the App Store. When switching devices or reinstalling, first check the purchasing account and whether the app is visible in the current storefront. Once the app is available, separately check whether your configuration and server list need to be restored.
Diagnostics & Connection Status
Check the connection status first, then distinguish a failed test from an actual access problem. For a meaningful comparison, keep the test target, network, and server the same where possible.
Connectivity Test- Connectivity Test checks whether a server responds to a specified test on the current network. A successful test only means that this probe received a response. If another destination still will not open, check its DNS resolution and the rule it actually matches.
- Latency
- Latency is the time from starting a test to receiving a response, usually shown in milliseconds. It is not a throughput measure, and a lower value does not mean faster downloads. Before comparing results, make sure both tests use the same method and target.
timeout- timeout means the expected response was not received within the test’s wait period. A single timeout does not mean the server has been decommissioned. Retry, check that the network is working, then verify the address, port, and protocol settings to distinguish an intermittent issue from a persistent failure.
DNS- DNS looks up records associated with a domain, such as the IP address used to establish a connection. A name resolution failure and a connection failure after successful resolution occur at different stages. If you use IP-based rules, also check the address actually returned by DNS.
Not Connected- Not Connected means the client has not established a VPN connection. It does not test whether a particular server is available. If this status remains after you turn on the toggle, first check whether the system allows the VPN configuration to be added and enabled, then review the specific error.
See the troubleshooting steps for timeouts and connection failures
Getting Shadowrocket and Platform Availability
Shadowrocket is a closed-source commercial app with two ways to get it: for iPhone and iPad, get it from the App Store product page for a one-time US price of $2.99; check the App Store page for system requirements. The Mac (Apple silicon and Intel), Windows, Android, and Linux versions are free; get installers only from this site’s /dl/ directory. Choose your platform on the download page.
When checking the App Store listing, verify the developer name, Shadow Launch Technology Limited, the official icon, and app ID 932747118. For steps to check purchases when switching devices, see the genuine app guide.