Shadowrocket Hysteria 2 Setup Guide | Generated by AI

Home 2026.02

Question: How to use Shadowrocket on iOS to connect to a Hysteria 2 proxy server?

Answer:

Shadowrocket is a popular paid iOS app (available on the App Store) that supports Hysteria 2 as a protocol since version 2.2.35 (and later). As of 2026, it works reliably for connecting to Hysteria 2 servers.

Prerequisites

Step-by-Step: Adding Hysteria 2 in Shadowrocket (Manual Setup)

  1. Open Shadowrocket on your iPhone/iPad.

  2. Go to the Home tab (or Nodes / proxy list screen).

  3. Tap the + (plus) icon in the top right to add a new node/server.

  4. In the “Type” / Protocol dropdown, select Hysteria 2 (it appears as “Hysteria2” or “HY2”).

  5. Fill in the fields:
    • Server / Address: your-domain.com (or server IP)
    • Port: 443 (or whatever UDP port you configured)
    • Password: your-strong-password-here (single password auth)
    • SNI (Server Name Indication): your-domain.com (important if using TLS; usually matches the server domain)
    • Obfs / Obfuscation: If you enabled salamander obfuscation on server, select “salamander” and enter the obfs password; otherwise leave disabled/none.
    • ALPN: Usually leave default or set to h3 (for HTTP/3 masquerade compatibility)
    • Up Mbps / Down Mbps: Optional bandwidth limits (e.g., 100–200 for stability; set 0 for unlimited)
    • Remarks / Name: Give it a friendly name like “HY2 Home Server”
    • Other advanced options (congestion control, etc.): Defaults are usually fine (Brutal is recommended)
  6. Tap Save or Done.

  7. Back on the main list, select your new Hysteria 2 node.

  8. Turn on the main Connect switch (top of the screen).

  9. Grant VPN permissions if prompted (Shadowrocket uses Apple’s VPN framework in TUN mode for full-device proxying).

  10. Test: Open Safari or any app → visit a site like whatismyipaddress.com to confirm your IP changed.

Many Hysteria 2 setups (panels like H-UI, custom scripts) generate a share link in this format:

hy2://password@your-domain.com:443/?sni=your-domain.com&insecure=0

(or with obfs: &obfs=salamander&obfs-password=xxx)

Common Tips & Troubleshooting

This setup gives excellent performance and strong censorship resistance on iOS.

References:


Back Donate