Official Manual · Server Management

Shadowrocket Subscription and Server Management Guide

For your first import and connection check, start with the quick start guide. If you’ve already connected or need to update, migrate, or troubleshoot, use this page’s contents. Examples use the iPhone / iPad interface and are intended for readers who already have their own subscription link or server details.

Shadowrocket has two ways to get the app: the iPhone / iPad version is a one-time purchase of $2.99 on the App Store; see the App Store page for system requirements. The Mac (Apple silicon and Intel), Windows, Android, and Linux versions are free. Get their installers from this site’s /dl/shadowrocket/ directory via the downloads for all platforms page. For other platforms, follow the options shown on your device.

Subscribe: Import and check a subscription

Choose between adding a subscription and a server

A subscription is a list source that can be read again; a server is an individual connection in that list. If you have a subscription URL, keep its link to the imported list so you can refresh the same group later. If you only have a host, port, protocol, and credentials, add a single server. A URL beginning with https:// might point to a subscription response, but it could also be an account page, documentation, or a configuration file. Don’t identify it by its first few characters; follow the source’s instructions.

Subscriptions, servers, and rule configurations are three separate objects. Subscription updates retrieve a server list, manual entry defines one connection, and Config determines how traffic matches policies. Even if several objects happen to share a label, they are not interchangeable. For a first-time setup, review the existing entries on Home and note the selected item and its source. This helps prevent deleting a working older entry as a duplicate just because an imported entry has the same name.

Enter the full URL in Subscribe

On Home, open Add Server and choose Subscribe from the type list. Paste the complete subscription URL into the corresponding field. If the interface offers a remarks field, use a short label that identifies the source. The query parameters at the end may identify your account, so don’t remove them or manually decode percent-encoded characters that look unnecessary. When copying from multiline text, copy only the URL—not its title, quotation marks, line breaks, or trailing punctuation. Before submitting, make sure you haven’t pasted a single-server link from an earlier copy.

After adding it, return to Home and check that the expected subscription group appears, then expand it to view its entries. If a group has the same name as another, distinguish them using your source notes rather than guessing from where the new entries appear. Check a familiar entry’s protocol and purpose against the original details; don’t rewrite automatically imported settings just to test a connection. Add one subscription at a time and confirm the result before adding another. That makes it easier to tell whether an input was wrong, you checked the wrong group, or the source itself changed.

Check retrieval, parsing, and connection separately

Saving a URL, reading its entries, and using an entry to access a website are three separate checks. If the URL saves but no entries appear, first check whether it has expired, whether a trailing parameter is missing, and whether the current network can reach the subscription host. A response doesn’t necessarily contain a server list: a login-required web page or an error page can also return content. If the app can’t recognize it, check the format instructions from the source. Seeing text in a browser doesn’t prove the app should parse it as servers.

If entries appear in the group but connections fail, keep the imported results and run an initial check on one entry with Connectivity Test, then follow the quick start guide to verify actual access. An update request goes to the subscription host; a connection request goes to the server. They may be on different networks. So don’t rebuild the entire subscription as your first response to a failed connection. Conversely, a working connection doesn’t prove the subscription URL can still be updated. Note which step failed, then decide whether to check this section or the testing section later in the guide.

Add Server: Manual fields and protocol settings

Choose the protocol before entering details

On Home, open Add Server, select the protocol specified by your source, then fill in the fields shown for that protocol. Protocols differ in their authentication, transport, and encryption requirements. Choosing the wrong type may still let you save the entry, but it can cause connections to fail, tests to time out, or connections to drop immediately. Before entering details, separate them into connection target, authentication credentials, and transport settings. If a field is unclear, check the relevant instructions instead of filling it with a default from another protocol.

This table maps source details to field purposes; it is not a definitive list of fields shown in every version. The key is to make the client’s connection match the server’s requirements, not to fill in every field. If the source says to leave a setting blank, do so. If the source doesn’t specify a value and the app requires one, first confirm that you chose the right protocol and transport combination.

Four types of settings for manual server entry
Setting typePurposeCommon mistake
Host and portSpecify the connection destination and listening port.Pasting the full link or a URL with a path into the host field.
Authentication credentialsUsed by the server to identify or authenticate the connection.Using a value from the subscription URL as the server password.
Transport settingsSpecify how the connection is encapsulated at the transport layer.Pasting a path into the host field or changing the path’s capitalization.
TLS settingsSet up and verify an encrypted connection as required.Assuming the connection address must also be the server name.

Separate destination, authentication, and transport

Enter the domain name or IP address provided by the source in the host field, and enter the port separately. A domain name and a fixed address are not always interchangeable: DNS results can change, and the server may use the domain to distinguish requests. If the source lists a connection address, a transport hostname, and SNI separately, enter each in its corresponding field rather than substituting one for another. SNI tells the server which name is being accessed; it is not a replacement field for finding a server address.

For example, the encryption method and password for Shadowsocks must match. Enter VMess or VLESS identifiers exactly as provided. You can’t infer Trojan credentials from its name or port. WireGuard uses keys for different roles and tunnel settings: a website login password is not a substitute, and the public and private keys must not be swapped. If you have a complete protocol configuration, first check the import options supported by the interface to avoid missing fields that must be used together when entering details manually.

A transport path may be case-sensitive and may need its leading slash. When copying, watch for full-width punctuation, leading or trailing spaces, and automatic input-method replacements. Don’t re-encode credentials just to remove a few character differences. If you have a working entry to refer to, compare the field types, but don’t copy its credentials or transport settings. Two servers using the same protocol may still require different paths and names; those differences don’t mean one entry is wrong.

Run a basic check before and after saving

Give manually entered entries a label that identifies their purpose. Don’t put the host, password, or personally identifying information in the label. After saving, select the entry and test access to a site you know is reachable. Record which stage succeeds or fails, not the credentials. For a name resolution error, check the host spelling and network. For an authentication error, recheck the protocol and credentials. For a certificate error, verify the name, device clock, and source requirements. Don’t disable certificate verification just to make a test pass; that can hide an error and change the connection’s security properties.

When editing an existing entry, change only one confirmed incorrect field at a time, then retest using the same network and destination. If you must replace an entire set of settings, keep the old entry and enter the new values in a separate test entry. If the new entry fails, you can then tell whether the network changed or the edited settings don’t match. There’s no need to change the port, credentials, and routing policy all at once and then guess what caused the problem.

Import with a QR code or clipboard

Check what the QR code contains before scanning

A QR code encodes text as an image; the image itself doesn’t prove that its contents come from the expected source. It could contain a single-server share link, a subscription URL, or a regular webpage. Before scanning, check your existing information to identify what it is and whether you intend to add one entry, add a subscription group, or replace old details. If the QR code comes from a saved backup, make sure a newer URL hasn’t replaced the one in it. Successfully scanning text doesn’t mean the text is still valid. Compare the displayed name with the entries already on your device to reduce the chance of importing an outdated record.

On Home, open Scan QR Code and point the camera at a QR code displayed in full on another screen. When the system first asks for camera access, check that the prompt is for Shadowrocket. If the camera view doesn’t appear, check camera permissions instead of repeatedly switching networks. If you only have an image on the same device, use an image-selection option if the interface provides one. Otherwise, use the original text or display the image on another screen you control. Don’t send the QR code to an online decoding tool.

Fix scanning issues before checking the parsed result

If the camera view works but the scan gets no response, check that all four edges are visible, the image isn’t reflecting light, and no other QR code overlaps it. Leave a clear margin around the code, adjust the distance, and try again once it’s in focus. If scanning displays text or says the content isn’t supported, image recognition and app parsing have already happened as separate steps. Increasing screen brightness is unlikely to help; instead, check what the code represents and whether its format is supported. Don’t save a scanned web address as a subscription unless that matches the purpose described in the original information.

When the confirmation screen is available, check the object type and recognizable name before saving. If the scan adds it directly, return to Home and check which group and entries were added to avoid scanning it again. If it’s a subscription, check that the group’s list can be read. If it’s a single server, check the protocol and connection result. These are separate checks. If you can’t find the entry, don’t immediately delete a nearby item with the same name. Expand the existing groups first and confirm that the previously selected row is still there.

Copy only what you need to the clipboard

If you have the original text, copy one complete link from it. Don’t copy the surrounding chat instructions or multiple candidate links. If the interface offers clipboard import, use that option. You can also paste a subscription URL directly into the field for Subscribe. If the system asks to allow pasting, confirm that you initiated the action. If you previously denied permission and pasting still does nothing, retry in a valid input field and check the app’s system permissions. Don’t mistake a permissions issue for an expired remote URL.

When copying from text that wraps across lines, distinguish visual wrapping from actual line breaks. Visual wrapping is only a display effect; an inserted line break changes the input. Full-width punctuation, a trailing period, or a truncated parameter in the clipboard can also cause parsing to fail. If the original information provides both a QR code and text, and they lead to different protocols or destinations, stop importing and check which source is still valid. Don’t combine fields from both sources or assume the one that saves is correct.

Share link formats and exposed information

Identify formats by their structure, not their file extension

A single-server share link usually puts the protocol, connection, and authentication details in one string. For example, ss://, vmess://, vless://, and trojan:// each indicate a different protocol format. The prefix can help you decide what to check, but it doesn’t prove the rest of the content is complete. Formats don’t share a universal delimiter: some encode everything in one block, while others use query parameters and fragments for transport settings and labels. Changing a link’s prefix won’t make two protocols compatible.

Some source URLs begin with https:// and return a different list each time they’re accessed. Others may return a static file or a regular webpage. A subscription response doesn’t necessarily have a recognizable file extension. Don’t decide whether a URL is a subscription based on its last word, and don’t add an extension manually. If a browser redirects the URL, the final page address may not be equivalent to the original subscription endpoint. Save the URL provided for the client to read, not a substitute copied from the browser’s address bar.

Encoding doesn’t hide credentials

Characters that look garbled may be reversibly encoded. Someone who can read a share link may be able to recover the server details without entering another password, or even import and use them directly. The part after a hash sign in a link often contains a label, but that doesn’t mean the content before it is safe. Nor is everything after a question mark necessarily a removable display parameter. Keep percent-encoded text in its original form and let the parser for that format handle it. Manually decoding it can turn a symbol that belongs to a field into a delimiter.

For troubleshooting, you can record the prefix, protocol, and type of error, but don’t save the original text with authentication fields. If you need to check whether a copied link is incomplete, compare it segment by segment with the original on your own device. Don’t send the full link to a remote tool or use it as a screenshot title. If an error message includes a URL or credentials, rewrite it without those values. Hiding only the hostname isn’t enough: query parameters, encoded blocks, and the QR code image itself may expose usable information.

Manage server links separately from rule configurations

A server share link answers “how to connect”; a .conf rule file answers “which policy should handle each request.” The snippet below illustrates rule structure and uses an example domain. It contains no server credentials and isn’t a subscription URL to paste into Subscribe. To explain how a specific request is routed, check which configuration is selected in Config and whether Global Routing is set to Config.

[Rule]
DOMAIN-SUFFIX,example.com,PROXY
FINAL,DIRECT

The first rule sends requests matching the example domain suffix to PROXY; requests that don’t match an earlier rule use DIRECT. Successful direct access doesn’t prove the selected server works. Conversely, changing servers generally won’t change DIRECT to PROXY in a rule. When comparing two servers, use the same configuration and a destination that actually matches a proxy policy. If the configuration refers to a policy by name, also check which entry that policy currently points to. See Global Routing modes explained for the three modes.

When exporting or migrating, archive rules, servers, and subscriptions separately by purpose. A rule file alone may restore the policy logic, but not necessarily server details; a server link alone won’t restore rule settings. Your archive checklist can note each object’s type, its references, and the order for restoring it without repeating actual links. If access behaves differently after migration, you can use the checklist to identify whether connection settings, routing rules, or the selected state is missing instead of importing everything again and hoping for the best.

Subscription updates and recovery from errors

Keep a point of comparison before updating

Updating a subscription rereads its list from an existing source. It doesn’t add another subscription each time or upgrade Shadowrocket itself. Before updating, note which group you’re using, which entry is selected, and what it’s for, and keep any information you need to restore it. Don’t assume an update only adds entries: the remote list may remove entries, reuse labels, change server settings, or rename items. If a name stays the same, still check the actual connection if needed; if it changes, that doesn’t necessarily mean the destination changed. Keeping a record of the list before and after helps you decide whether to select another entry.

Schedule updates for a time when you can check the results soon afterward, rather than refreshing everything while relying on the current connection for something important. Use the update option for the relevant subscription group, update one source at a time, then check which entries were added, removed, or renamed. If the interface offers automatic updates, treat them as a convenience, not proof that the list refreshed at a particular time. Device connectivity and system restrictions on background activity can affect when an update actually runs.

Narrow down the problem by the stage that failed

The first case is a request that doesn’t go through or get a response. Being able to open other websites on your current network doesn’t mean it can reach the subscription host. A working server connection doesn’t replace this check either. First see whether the same message appears on another network, then check whether the subscription URL has changed. For permission or authentication messages, check the expiry and make sure the URL is complete. For parsing errors, check whether the returned content is still a list the app can read. Don’t substitute frequent retries for diagnosis; repeatedly sending the same request makes the results harder to interpret.

The second case is an update that completes but leaves fewer entries or adds items with unexpected names. First make sure you’re checking the original group, not a copy with the same name. Then compare it with your record from before the update to tell whether the remote list changed or the new content wasn’t fully parsed. If older entries are missing, don’t immediately clear the entire group or overwrite your only backup. If only a few entries are missing and the rest still work, you can use a confirmed working entry in the same group temporarily while you investigate the difference.

The third case is an entry that remains in the list but behaves differently during actual use. First check which row is selected and whether it still belongs to the expected group after the update. Then check whether Global Routing or the original Config changed. Finally, compare the result using the same test conditions and destination as before. If you can restore the old settings but the old server now refuses connections, restoring local records won’t restore the remote state. Further rollback won’t help; check which information you currently have that is still valid.

Distinguish a replaced URL from a temporary outage

If you’ve received a replacement URL, first record how it relates to the old source. If the interface lets you edit the original URL, update that source after keeping the information you need to roll back. If you import the new URL alongside it, label the new group as pending verification, check its list, and test a connection before dealing with the old group. Don’t set up regular updates for two similar groups at the same time; it will be difficult to tell which one changed. An expired old URL doesn’t mean the client failed to import the replacement. Check the old and new sources separately before deciding what to do next.

Organize multiple subscriptions and verify their sources

Labels identify sources; they don’t authenticate them

Different subscriptions can contain servers with the same name, and one subscription can use the same name for entries with different protocols. When organizing them, identify the source first, then check the names and purposes of entries in each group. Device labels can describe a purpose, such as “Daily,” “Backup,” or “Needs review,” but a label alone doesn’t verify an entry’s identity. Use a short, stable label for each source that doesn’t contain personally identifying information. You can keep it when the URL changes, and add a temporary distinguishing label when verifying two URLs in parallel. Don’t append a password or full domain name to a label.

If you share a private checklist across devices, note which sources were imported on each device, which devices are used for testing, and which entries were entered manually. The checklist can include the latest verification result and rollback order without containing actual links; store the source details separately. Keeping these separate makes it easier to find entries without leaking credentials when sharing a problem report. When moving to a new device, migrate frequently used groups first and add others as needed rather than carrying over every historical source at once.

Distinguish matching names, possible duplicates, and actual duplicates

For entries with the same name, expand their groups and compare protocol types, then check differences in host, port, and transport settings. Even two entries connecting to the same host and port may use different credentials, transport settings, or server names. A shared name, address, or test result alone doesn’t prove they’re interchangeable copies. If you confirm that an entry was manually imported twice, also check whether the current configuration refers to it and whether other devices use that label to identify it.

An entry managed by a subscription follows a different maintenance path from a manually entered entry, even if their settings match: one is updated with the subscription, the other must be maintained separately. If you want to keep a manual backup, label it clearly to show how it’s managed. If you simply don’t want to see some entries in the daily list, consider collapsing the group or switching away from them instead of deleting entries one by one. A subscription that downloads the full list again may bring removed entries back on the next refresh. That doesn’t mean the client failed to save your other changes.

Check the selected entry and configuration references as you organize

The order shown on Home, the currently selected entry, and the policy used for actual traffic are not the same thing. Moving a backup group to a more visible position doesn’t make it take over connections. If the configuration contains other references, renaming an entry may not update all of them. Before reorganizing groups, identify the active configuration and find any policies that explicitly refer to entry names. After making changes, recheck the names and policy targets, then test a frequently used destination that actually matches a proxy policy.

Set a clear finish line for organizing: frequently used sources are easy to find separately, the selected entry is clear, backup entries have been tested at least once, and entries awaiting review won’t be confused with daily ones. For example, during a migration, label the old and new sources separately and keep a known-working manual entry for comparison. If the new source fails, switch back to the comparison entry and confirm that the device’s network and current configuration work before troubleshooting the new group. This makes it easier to find the cause than changing every label and sort order at once.

Connectivity Test, latency, and sorting

Keep test conditions consistent when comparing entries

Latency is the result of a probe under the network, destination, and measurement method used at that time. It doesn’t represent actual bandwidth, long-term stability, or access to every website. Before using Connectivity Test on Home, note whether you’re on Wi-Fi or cellular and choose a small set of entries to compare. If the test lets you change its target or method, keep the settings consistent during the comparison. Don’t compare values from different targets. After switching networks, establish a new baseline instead of treating cached results from the previous network as current.

The first probe may involve extra resolution or connection steps, and a brief period of congestion can produce an unusually high result. Compare whether tests succeed consistently before comparing latency among successful results; don’t pick an entry just because it once showed the lowest value. If one entry fails repeatedly, run the same test with an entry you’ve already verified to tell whether the problem is limited to one entry or affects the test destination. If the entire group fails, first check that the network is working and the destination is reachable on it.

Sorting is a viewing aid, not a routing policy

If the interface offers latency sorting, run the tests first, then use the sorted results to narrow down which entries to investigate. Untested items, timeouts, and displayed historical results aren’t current measurements of fast or slow performance. If entries from multiple sources appear together, compare them by source and purpose. A higher-scoring backup entry doesn’t change the selected entry or rule assignments. After sorting, verify the name and group to make sure you select the right entry; don’t rely on a row number you remembered before the list refreshed.

After selecting a candidate, test it with the same configuration, network, and destination you’ll actually use. First check whether it opens successfully, then whether repeated use remains stable. If an entry looks good in a short test but keeps retrying after a few minutes, note the stability issue instead of letting one favorable latency result outweigh what happens in practice. If the network is switching or the destination website is having problems, wait until conditions recover before drawing conclusions from a comparison.

If latency looks normal but a webpage fails, troubleshoot in stages

First, check whether the test destination and the domain you’re opening in the browser are the same. Access to one doesn’t guarantee the other can resolve or connect. Next, check which rules are matched by the active Config to see whether the browser request uses PROXY or is assigned to DIRECT or REJECT. Then look separately at domain resolution, connection establishment, and the page response. If the test passes but webpages consistently fail during resolution, see how to troubleshoot DNS resolution failures. Changing servers isn’t the only way to investigate a resolution problem.

Change one condition at a time when comparing: first switch candidates on the same network with the same rules. If they all fail, restore the original candidate and try another network. Also check whether enabled On Demand settings change the connection state when the network changes; see how to configure On Demand for different networks. Keep track of which entry, which network, and which step failed. Those details are more useful than a general note that latency looks normal but the connection doesn’t work.

Delete, back up, and restore during migration

Confirm the item and scope before deleting

Deleting a manually entered server usually affects that local entry. Removing a subscription group requires checking the entries from that source and any related references. Don’t mistake deleting one item in a list for removing the entire source, or removing a local subscription for revoking remote credentials. Before deleting, select a verified replacement, check whether related configurations depend on the old name, and note the current Global Routing mode. If you only want to stop using an entry for now, switch to another one and remove it later once you’ve confirmed it’s no longer needed.

On Home, find the item and use the delete option for that entry or subscription group. Check carefully whether the confirmation refers to one entry or the whole group. After deletion, verify that the intended row disappeared, the correct entry is selected, and the existing rule policy still points to the right item. If two entries have the same name, don’t keep tapping delete to see which one disappears. If a deleted entry reappears after an update, check the source list to see whether it was sent again remotely; don’t confuse that with restoring a backup.

Back up by object type and verify what can be restored

A restorable set of information should account separately for subscription URLs, manually entered entries stored only on the device, rule configurations, connection modes, and selected entries. A subscription URL that still works can help you retrieve the current list, but may not restore the list as it was before a particular update. A rule file also isn’t guaranteed to include server credentials. In the Data section of Settings, check which data operations are currently available and what they cover. Before exporting, read the prompt and determine whether it saves all data or just one category.

If you plan to migrate using cloud storage, use the relevant option only when you know the data format and control who can access it. Import from Cloud JSON is for importing data; don’t use it for arbitrary subscription responses or assume a file is compatible just because it opens. Label backup files with a purpose that doesn’t reveal credentials. Store private keys, passwords, and full subscription URLs in encrypted storage with access controls. Test a backup using a readable copy, not a screenshot, and don’t treat an online share link as long-term storage.

Restore in order and keep the old device as a reference

When moving to a new device, do as much as possible while the old device is still available. First restore one subscription you use every day and any necessary manually entered entries, then restore the relevant rules. Check the names, current mode, and selected entry, then test actual access to a frequently used destination. Before importing data that may overwrite existing information, back up what’s already on the new device and confirm whether the operation merges or replaces it. If the interface doesn’t say, don’t experiment on your only working device. Clear data from the old device only after the new one can connect and update independently.

If restoration fails, roll back the affected object: if a subscription can’t be read, check its URL and permissions; if a manual entry is missing, check what the backup includes; if traffic is routed incorrectly after importing rules, check that the file matches the selected configuration. If you’ve reinstalled the app or changed devices and aren’t sure where to start, see the installation and restore FAQ or return to the quick start guide to verify one connection. Don’t overwrite all your working local data just to restore one missing item. Restore the missing object first, then decide whether a full restore is needed.

Download Shadowrocket for All Platforms