At a glance

If your provider has given you connection details, a sharing link, or a subscription, first identify what kind of information you have before choosing how to import it. When adding a server manually, the Type in Add Server must match the server-side protocol. A port, name, or UUID alone is not enough to identify the protocol. This guide uses the iPhone and iPad interface to walk through the parameters, setup steps, and checks to make when a connection fails.

Protocols and parameters at a glance

Type determines how Shadowrocket connects to and authenticates with a server. Transport, TLS settings, and Global Routing serve different purposes: the first two affect how the connection is established, while Global Routing determines how traffic handled by the client is routed. Use the configuration supplied by your provider when entering parameters.

ProtocolTransportWhat to check
ShadowsocksForwards traffic using the agreed encryption method and password. UDP forwarding also depends on the server and its configuration.Address, port, Method, and Password. Method must match the server; do not substitute another method.
VMessCan use TCP or transports such as WebSocket. Whether to enable TLS depends on the server configuration.Address, port, UUID, transport, and TLS settings. For WebSocket, also check the Host and Path required by the server.
VLESSThe protocol itself does not encrypt traffic; connection security depends on an additional security layer, such as TLS. A UUID in the same format does not make it compatible with VMess.Address, port, UUID, transport, and security-layer parameters. If the server specifies a Flow value, enter it as provided.
TrojanCommon configurations use password authentication over a TLS connection. The TLS handshake and password verification are separate steps.Address, port, Password, and the SNI specified by the server. If the address is an IP, do not assume the SNI should be the same IP.
HTTP / SOCKS5HTTP proxies can use CONNECT to establish a TCP tunnel. SOCKS5 can forward TCP; check separately whether the server supports UDP. Neither protocol encrypts traffic on its own.First distinguish HTTP from SOCKS5, then check the address, port, and whether a Username and Password are required.
WireGuardCreates a key-based network tunnel over UDP; it does not use proxy username and password fields for authentication.Check the local PrivateKey and Address, along with the peer's PublicKey, Endpoint, and AllowedIPs. Enter the PresharedKey too if the configuration includes one.
Hysteria2Uses QUIC over UDP and verifies the server with TLS. Being able to reach a TCP service on the same port does not mean QUIC is reachable.Address, UDP port, authentication value, and the SNI specified by the server. Enter obfuscation settings only if the server has enabled obfuscation.

Choose a Type in Add Server

  1. Identify the information you have

    If you have connection details for a single server, add it manually using the steps below. If you have a subscription link, tap “+” in the upper-right corner of Home, open Add Server, set Type to Subscribe, enter your link, and save. A subscription URL is not a single server's address and should not go in the address field for an individual connection.

  2. Choose the protocol

    Match the protocol name in your configuration and select it under Home → “+” → Add Server → Type. If your provider specifies VLESS, choose VLESS. If the configuration lists only a UUID and port, confirm the protocol name first rather than guessing from the fields.

  3. Enter the connection details

    Enter the address, port, and authentication details. If the server specifies a transport, check the related fields. For example, if the WebSocket Path is /connect, include the leading slash when entering it. Keep the original SNI if one is specified. /connect is an example format, not a universal value.

  4. Save and select the server

    After saving, return to Home and tap the server you just added in the SERVER list. Check that the selection indicator is next to the intended entry. For servers imported by subscription, make sure the entries appear in the list, then tap the one you want. Saving a subscription does not select a server from it.

  5. Check the connection

    Turn on the connection switch in Home, approve the VPN configuration requested by the system, then run Connectivity Test. If the test returns results but an app still cannot connect, note what happens and check the actual destination and Global Routing separately. Don't change the authentication details you just entered as a first step.

Ports, transport, and routing: what's the difference?

443
The standard HTTPS port; this number alone does not identify the proxy protocol
1080
A common SOCKS port; use the value in the server configuration
UDP
WireGuard and Hysteria2 both use UDP, but they are not interoperable

A port number does not tell you which transport is in use. For example, example.com:443 can refer to different TCP and UDP endpoints. Opening that address over TCP in a browser does not confirm that a Hysteria2 UDP endpoint is reachable. If WebSocket fails to connect, check that the Host and Path match the server's access configuration, as well as the port.

Config

Recommended

Uses the policies in the current Config. If no rule matches, the configuration's FINAL determines what happens; it is not always DIRECT.

Useful for checking whether routine traffic routing in a configuration file behaves as expected.

Proxy

Routes traffic handled by the client through the selected proxy, making it easier to temporarily rule out rule matching during troubleshooting.

Useful for briefly retesting the same destination to distinguish a connection-path issue from a routing-rule issue.

Direct

Sends traffic handled by the client directly. A successful direct connection does not show that a server in the SERVER list is usable.

Useful for checking whether a destination can be reached directly on the same network.

Change one setting at a time, then test again

If the same destination fails under Config but works under Proxy, keep the server, network, and destination unchanged. Switch back to Config and check the rule order and FINAL. Don't change Type or re-enter the password at the same time, or you won't know which change affected the result.

Import and connection FAQs

How can I check a server's protocol after updating a subscription?

In the SERVER list on Home, open the edit screen for the specific entry and check its Type. Subscribe is the method for importing and updating the list, not the protocol used by each connection in it. If several entries share a name, compare their addresses and ports to make sure you select the right one.

If Trojan reports a certificate error, should I change the password first?

First check the server address, SNI, and device time. If the server requires certificate verification against a domain name, keep the configured name; don't change the SNI to an IP just because the address is an IP. Don't disable certificate verification to hide a configuration mismatch.

Hysteria2 connects over cellular but keeps timing out on Wi-Fi. What should I check?

Keep the same entry and settings, then run Connectivity Test on both networks. If it times out only on Wi-Fi, first check whether that network allows UDP traffic to the server's destination port. If it times out on both networks, check the address, UDP port, and server status. Don't change the port to 443 just because that's common for HTTPS.

WireGuard has a handshake, so why can't I reach the destination?

A handshake confirms that the two peers established an encrypted session; it does not mean destination traffic is being forwarded correctly. First check whether the destination IP falls within the expected peer's AllowedIPs range, then check the local Address and the peer's forwarding configuration. If the IP is reachable but the domain is not, check DNS separately.