Global Routing and Rule Order
Check Global Routing in Home. Config processes requests according to the rules in the selected configuration file. Proxy routes requests through a proxy, while Direct connects without one. To route traffic by domain or address, first confirm the intended configuration is selected, then check the rules in order to see which one matches. In the example below, the specified domain suffix uses PROXY, and all other requests fall through to FINAL,DIRECT. The example contains no server details and is not a complete configuration; verify the result with an actual request after making changes.
DOMAIN-SUFFIX,example.com,PROXY
FINAL,DIRECT
Compare the three Global Routing modes →
On Demand Triggers
On Demand can start a connection automatically when saved conditions are met. Review its settings in Settings. It controls when a connection starts; it doesn’t change subscriptions or replace rule-based routing. Before setting it up, establish a manual connection and confirm the server, permissions, and mode are working. Then configure each trigger individually. After making changes, check what happens when the network changes and when you reopen the app. Results can also depend on system state. If the connection starts unexpectedly, note and review these settings first; avoid changing the server and DNS at the same time.
Settings
On Demand
View On Demand settings guide →
Type and Protocol Parameters
Shadowrocket supports multiple proxy protocols. When adding a server manually, select the Type in Add Server that matches your existing server. Each protocol has different authentication, encryption, and transport requirements, so entering only Host and Port may not be enough. Check each field against your service details and keep protocol names and parameter values unchanged. If a field is unclear, confirm what it means before saving and testing. Use the original details for parameters imported with a subscription, too. Changing Type won’t convert a server to a different protocol.
Shadowsocks · VMess · VLESS · Trojan
Add Server → Type
Host / Port / Password
View protocol and field terminology →
Importing and Updating an Existing Subscription
If you already have a subscription, get the complete link from your service provider, then follow the tutorial to select Subscribe in Add Server and save it. After importing, return to Home and check that the group and server items appear, then select one to test. Updating a subscription fetches the latest content from its source; it doesn’t establish a connection or confirm that the service is active. Keep authentication details in the link private. If an update fails, check that the link was copied in full and that the address is reachable before contacting your provider about the service status.
Add Server
Type → Subscribe
Home → Connectivity Test
Import an existing subscription step by step →
Config Files and Rules
Use Config to manage configuration files. Sections such as General, Rule, and Hosts help you find specific content. Importing a server list doesn’t mean the intended rules are enabled; also check the active file and Global Routing. Save a copy before editing Rule, make one change at a time, and verify whether the target request matches. Rule keywords remain in English. FINAL is the fallback action when no preceding rule matches. For iCloud sync, check which configuration is actually selected on each device; matching file names alone aren’t enough.
Config
General / Rule / Hosts
FINAL,DIRECT
View the Config file guide →
Connectivity Test and Connection Logs
Connectivity Test in Home can check whether the selected item is reachable. For further troubleshooting, use Diagnostics in Settings. Test results are useful indicators, but can’t prove that every website will work. If the switch is on but requests fail, check the server, Global Routing, DNS, and rule logs in order, changing one variable at a time. Data can help you observe traffic, but traffic counts are not service billing records. Before sharing diagnostics, remove server addresses, subscription credentials, and identifiable browsing details.
Connectivity Test
Settings → Diagnostics
Data
View the connection troubleshooting checklist →