On iPhone: Shadowrocket
Add the static IP as a node in Shadowrocket, set Proxy Via to a node that works, then select it and turn on the switch
This guide is for people who already use nodes in Shadowrocket and can get online with them. Once set up, the route is: phone → your usual node → static IP → website.
Copy the IP
Sign in to this site in your phone’s browser, open My services → Static IPs, set Format to ip:port:username:password and copy that IP. Note the four parts: IP, port, username and password.
Add the static IP as a node
Open Shadowrocket, tap + in the top-right corner of the home screen, choose Socks5 as the type, then fill in the address (IP), port, user and password. Put “Static IP” in the remark so it’s easy to spot, and tap Done in the top-right.
Set Proxy Via
On the home screen, find the node you just added, tap the i on its right to edit it, find Proxy Via and choose a node from your existing subscription that works. Save.
Select this node and turn on the switch
Back on the home screen, tap the Static IP node to select it and turn on the switch at the top. With Global Routing set to Proxy, all traffic leaves from the static IP; with Config, it follows your rules.
Check
Open ipinfo.io in Safari. If it shows your static IP, you’re done.
The new node times out when you test it
From mainland China the static IP can’t be reached directly, so a latency test always times out until Proxy Via is set. Set it, then test again. If it still times out, select that upstream node on its own and check that it gets online.
- Set Format to
socks5://…and copy once. If the line doesn’t start with socks5://, the IP only has an HTTP port: choose HTTP as the type in step 2. If it starts with socks5:// but the port differs fromip:port:username:password, use the socks5:// port in step 2. - To change IPs, edit this node and update the address, port, user and password.
- Still not working? See Static IP won’t connect or shows the wrong IP.
Updated 2026-12-03 · 1 min read
Was this article helpful?
Still stuck?
Submit a ticket or contact support and we’ll get back to you soon.