Set up GetAStatic in Shadowrocket

Shadowrocket is an iPhone and iPad app that can run your WireGuard tunnel. Paste your config into it, send your traffic out from your static IP, and check that the internet sees that IP.

You need an active GetAStatic plan and Shadowrocket from the App Store. Do the steps on the iPhone or iPad that will use the static IP.

Add the tunnel

  1. Install Shadowrocket

    Get Shadowrocket from the App Store. It is a paid app from Shadow Launch Technology Limited. Other apps use similar names, so check the developer name before you buy.

    Shadowrocket takes the place of the WireGuard app, so skip step 1 Download WireGuard on your dashboard.

  2. Copy your config

    On the iPhone, open your dashboard in Safari. On the My IPs tab, choose your IP at the top. In the Devices list, tap this phone, or tap + Add device to add it. Each device needs its own config: if two devices use the same one at the same time, both connect and disconnect.

    The phone's steps must say WireGuard. In the box under the list, Download & Install, go to step 2 and tap Copy config. If the box is closed, tap it to open it.

  3. Paste it into Shadowrocket

    Open Shadowrocket. If iOS asks whether Shadowrocket may paste from Safari, tap Allow Paste. Shadowrocket finds the config and offers to add it. Tap Add.

    If it does not offer, check that it may read the clipboard: in Shadowrocket's Settings tab, open the permissions and turn on the clipboard. Or tap the paste button on its Home tab.

  4. Select it

    The new WireGuard entry shows in the list on the Home tab. Tap it. A dot next to it shows that Shadowrocket uses it.

Connect and check

  1. Send all traffic through the tunnel

    On the Home tab, tap Global Routing and choose Proxy. All your apps then go out from your static IP.

    With Config, Shadowrocket's rules decide: some traffic goes out from your static IP, and the rest from your normal connection. Choose it only if you want that split.

  2. Turn on IPv6

    On the Config tab, tap the (i) icon next to your config, open General, and turn on IPv6. Without it, your phone's IPv6 traffic can go around the tunnel, and sites that use IPv6 see your phone's own address.

  3. Turn it on

    Tap the switch at the top of the Home tab. The first time, iOS asks to add a VPN configuration. Tap Allow, then enter your passcode.

  4. Check your IP

    On your dashboard, Connected shows in the Download & Install box and on the phone's row. That means our server sees your tunnel. Then, in Safari, open:

    https://getastatic.com/api/tools/ip

    The ip value must be the IP on your dashboard. Then check IPv6:

    https://api64.ipify.org

    It shows one address. It must be your static IP, or the IPv6 address on your dashboard if there is one. Any other address means that some traffic goes around the tunnel.

If it does not work

  • The dashboard never shows Connected: switch this phone to AmneziaWG. It fixes most connection problems. On the dashboard, tap ⋯ on the phone's row, then AmneziaWG next to Client, then Switch to AmneziaWG. AmneziaWG runs in its own AmneziaWG app, not in Shadowrocket: install it from step 1, then add the config from step 2.
  • To stay on Shadowrocket: your network may block UDP 1194. On the dashboard, tap ⋯ on the phone's row, then Port 443, then Copy config. Add that config to Shadowrocket as before, select the new entry, and delete the old one.
  • Connected, but a check shows another address: set Global Routing to Proxy, turn on IPv6, and check that the dot is next to your WireGuard entry. Turn the tunnel off and on, then check again.
  • It connects and disconnects again and again: another device runs the same config. Give each device its own with + Add device.

Still stuck? Ask on the Support tab of your dashboard. Never send your config: it holds your private key.