When adding a connection in Shadowrocket, select the Type named by your provider, then check the address, port, authentication, and transport settings. This guide is for anyone with a share link or manual settings who isn’t sure how to enter them. Use the comparison table to troubleshoot connections that fail after import.
Transport, encryption, and settings for seven protocols
The same server address can use multiple protocols, so the address or port alone won’t tell you which Type to choose in Add Server. Check the protocol name first, then enter authentication and transport settings in their respective fields.
| Type | Transport and encryption | Key settings beyond the address and port |
|---|---|---|
| Shadowsocks | Use TCP or UDP as specified in the configuration; the selected encryption method protects the data. | Encryption method and password. Both must match the server configuration. |
| VMess | The protocol has its own authentication and encryption settings; it can run over transports such as TCP or WebSocket. | UUID, transport, and security settings. If the configuration uses WebSocket, check Host and Path as well. |
| VLESS | VLESS does not encrypt payloads itself; protection depends on the outer configuration, such as TLS or REALITY. | UUID, transport, and outer security settings. Enter Flow exactly as provided, if specified. |
| Trojan | Standard configurations use TLS to protect the connection to the server. | Password and the SNI provided by your service provider. Keep certificate verification enabled. |
| HTTP / SOCKS5 | HTTP proxies typically use TCP. SOCKS5 can relay TCP and, when both ends support it, UDP. Standard HTTP and SOCKS5 do not encrypt the connection to the proxy server. | Use the details provided to distinguish HTTP from SOCKS5. Enter a username and password if the server requires authentication. |
| WireGuard | Creates an encrypted IP tunnel over UDP. | Your Private Key, tunnel Address, peer Public Key, and AllowedIPs. The server address and port make up the Endpoint. |
| Hysteria2 | Uses QUIC over UDP; QUIC uses TLS 1.3 for the handshake. | Authentication details and the SNI provided by your service provider. Enter obfuscation settings only if the server is configured for them. |
Bottom line: Check whether the port uses TCP or UDP when troubleshooting.
If your provider specifies 443/UDP, switch networks on the same device and test the connection again. A website loading over 443/TCP does not confirm that the UDP path required by QUIC is available.
Identify the Type from a share link or subscription details
A share link describes one connection. A subscription URL points to a list of connections that can be refreshed. The import steps differ.
ss://indicates Shadowsocks. Check the encryption method as well as the password. Two entries for the same address may use different encryption methods.vmess://indicates VMess;vless://indicates VLESS. Both can use a UUID, but a UUID does not identify the protocol. Don’t change protocols by simply replacing the link prefix.trojan://indicates Trojan;hysteria2://indicates Hysteria2. Both may include authentication details and SNI, but their transport settings aren’t interchangeable.- WireGuard details are often grouped under
[Interface]and[Peer]. Your address and private key go under[Interface]. The peer’s public key, Endpoint, and AllowedIPs go under[Peer]. AllowedIPs are the IP prefixes routed through that peer, not the server address. - An address beginning with
https://could be a subscription URL or an ordinary webpage. Choose Subscribe under Home → Add Server → Type only if your provider explicitly identifies the address as a subscription.https://example.com/sub?token=xxxxis shown only as a format example.
After importing, check the entry type and server address in Home. Share links, subscription URLs with tokens, and WireGuard Private Keys may contain access credentials. When sharing troubleshooting details, include only what’s needed, such as the protocol, transport type, and error message.
Add a connection manually in Add Server
These steps use the Home screen on iPhone / iPad. When entering settings manually, use the original values from your provider; don’t substitute common defaults for missing fields.
Select a protocol
Go to Home → “+” → Add Server → Type. Select the protocol specified in the server details. If the details list only TCP, WebSocket, or TLS, confirm the underlying protocol before choosing a Type.
Enter the address and port
Enter the connection destination in the address field and the listening port in the port field. Don’t append a WebSocket Path to the server address or assume the example port 443 is a default.
Enter authentication details
For Shadowsocks, check the encryption method and password. For VMess and VLESS, enter the UUID. For Trojan, enter the password. In WireGuard, enter your Private Key and the peer’s Public Key separately.
Check the transport settings
For WebSocket, enter Host and Path as specified in the configuration, such as
/ws. For TLS, check the SNI provided by your service provider. The server address establishes the connection, WebSocket Host is used in the request, and SNI is used in the TLS handshake; these values may differ.Save and test
Tap Save to return to Home. Select the entry you just added and run Connectivity Test. Record the result, then turn on the connection and test an actual request using the same site you know is accessible.
Imported but can’t connect? Troubleshoot by symptom
A successful import only means the app can read the connection details. It doesn’t confirm that authentication succeeded or that web requests are using this connection. Change one setting at a time and retest under the same conditions.
Hysteria2 times out on Wi-Fi but connects over cellular?
Keep the entry unchanged and run Connectivity Test from Home on both networks. If it consistently times out only on Wi-Fi, first check whether that network allows UDP traffic to the destination port. Don’t change Hysteria2 to the TCP port of another service.
Trojan address is correct, but why am I seeing a certificate error?
First, compare the entry’s SNI character by character with the name provided by your service provider. Then check the clock under Settings → General → Date & Time. If both are correct and the certificate error persists, ask your provider to check whether the certificate has expired or the certificate chain is incomplete.
WireGuard port is correct, but why is there no traffic?
First, compare the Endpoint and peer Public Key with the original configuration. Then check that your Address wasn’t mistakenly entered as the server address. If the tunnel has completed its handshake but the destination is still unreachable, confirm that the destination IP falls within the peer’s AllowedIPs prefixes.
Latency test succeeds, but why won’t webpages load?
Check the current mode under Home → Global Routing. Direct connects without a proxy; Config routes connections according to the active rules. Temporarily switch to Proxy, select the entry you just tested, and try the same URL again. If it works only in Proxy, switch back to Config and check whether the domain matches DIRECT, REJECT, or another policy.