Skip to content

Updated

Using Claude from China:
web, desktop app, Claude Code and phone, step by step

  1. To use Claude from China, buy an overseas static IP (for example the US Claude ISP), install the Proxy302 client on your computer, sign in and turn on One-click boost.
  2. Web: in My IPs click Open browser for that IP and open claude.ai in the new window.
  3. Claude desktop app: on that IP click More → Use as system proxy → Turn on, then Set as this computer's system proxy and restart Claude. Claude Code: set HTTPS_PROXY=http://127.0.0.1:17890 in the terminal, then run claude. Phone: on iPhone chain the static IP (SOCKS5) behind your own node in Shadowrocket, or use the client's LAN port on your computer. Web, desktop and phone all use the same IP.

Check it right after buyingExample output

curl -x http://USER:PASS@HOST:PORT https://ipinfo.io/json

ip
203.0.113.24
country
US
Matches the country you picked
Day 15
203.0.113.24
Same address for the whole term
Example addresses (203.0.113.0/24), not real exits
01 / 19Two legs have to work

One Claude account, one fixed overseas static IP; the China leg is handled by the client's One-click boost. About 5 minutes on a computer.

Two legs have to work

Leg one runs from China to overseas. Connecting from a mainland network straight to an overseas proxy address is often unstable: the switch is on but the page keeps spinning. The Proxy302 client's One-click boost keeps this leg stable for you.

Leg two is the fixed overseas exit. Claude sees the static IP you bought, not your local network. Keep one Claude account on one IP and use that same IP on the web, the desktop app and the phone.

So the order is: buy the IP → install the client and turn on One-click boost → connect the way you use Claude (web, desktop, Claude Code, antidetect browser, phone) → check on ipinfo.io.

Pick your route

Pick your route
ItemHow to connectTime
claude.ai in a browser① client Open browserabout 3 min
Claude desktop app (Windows / Mac)② client system proxyabout 3 min
Claude Code (terminal)③ HTTPS_PROXY to 127.0.0.1:17890about 2 min
Several Claude accounts in AdsPower or BitBrowser④ fill the proxy, or More → Send to AdsPower / BitBrowserabout 3 min
Claude app on a phone⑤ Shadowrocket chain, or the computer's LAN portabout 5 min

①–④ all need the Proxy302 client installed on the computer with One-click boost on.

Before you start: the IP and the client

  1. Step 1: buy an overseas static IP

    For Claude, choose the Claude ISP: dedicated to you, and a renewal usually keeps the same IP. Pick the country first (the US is the common choice) and keep the protocol on HTTP (Claude Code only accepts HTTP). If you already have a static IP, use that one.

    Expected result The IP appears under My proxies in the console.

  2. Step 2: install the client and turn on One-click boost

    Download the Windows or Mac client and sign in with your Proxy302 account. Click Relay on the left, then turn on One-click boost; when the computer asks for confirmation, click Yes (on a Mac, enter your login password). Keep the client running while you use Claude.

    Expected result You see One-click boost is on, and My IPs lists your IP.

    Before continuing If antivirus software blocks it, allow the hosts change, restore any quarantined files and add the client's install folder to the trusted list.

Relay page: the switch is on and connected, with One-click boost turned on below
Step 2: Relay connected and One-click boost on (Windows client in Chinese, some details masked)
Open full-size figure

① claude.ai in the browser

  1. Click Open browser in My IPs

    Find the IP and click Open browser. The client opens a new Chrome window that uses the IP you bought. Sign in to Claude from this window from now on.

    Expected result ipinfo.io in this window shows your IP and country.

  2. Open claude.ai and sign in

    Open claude.ai in the same window and sign up or sign in. Do not sign in to the same account from another browser.

    Expected result Claude opens the chat page normally.

② Claude desktop app

  1. Make this IP the system proxy

    The Claude desktop app has no proxy field of its own; it follows the computer's system proxy. In My IPs click More on the IP → Use as system proxy → Turn on, then click Set as this computer's system proxy.

    Expected result The client shows the system proxy is on at 127.0.0.1:17890 (use what your client shows).

    Before continuing Once it is the system proxy, every app that follows the system proxy uses this IP; turning the system proxy off or quitting the client restores the old setting.

  2. Restart the Claude desktop app

    Quit Claude completely (including from the taskbar or menu bar), then open it and sign in.

    Expected result The Claude desktop app signs in and chats normally.

System proxy on at 127.0.0.1:17890, with notes on the Claude desktop app, the terminal and other apps
② and ③: using the system proxy with the Claude desktop app and the terminal (Windows client in Chinese, some details masked)
Open full-size figure

③ Claude Code

  1. Turn the system proxy on first

    As in step ② above, use this IP as the system proxy and turn it on. The terminal uses that local address, with no username or password.

    Expected result The client shows the system proxy is on.

  2. Set HTTPS_PROXY in the terminal, then run claude

    Run the matching line below in PowerShell (Windows) or Terminal (Mac), then run claude in the same window. Claude Code supports HTTP proxies only, not SOCKS, and this address is HTTP.

    Expected result In Claude Code, /status shows http://127.0.0.1:17890 on the Proxy line.

Claude Code: Windows PowerShell

$env:HTTPS_PROXY="http://127.0.0.1:17890"; $env:HTTP_PROXY="http://127.0.0.1:17890"
claude

Use the port your client's system proxy shows.

Claude Code: Mac Terminal

export HTTPS_PROXY=http://127.0.0.1:17890 HTTP_PROXY=http://127.0.0.1:17890
claude

To make it permanent, put both variables in the env block of ~/.claude/settings.json.

④ Several Claude accounts in AdsPower or BitBrowser

  1. Import in one click, or copy the console values

    In My IPs click More on the IP → Send to AdsPower / BitBrowser and the client creates the profile for you (if the menu doesn't show it, fill it in by hand). By hand: in AdsPower click New profile → Proxy and copy the console values: type HTTP, host proxy.proxy302.com, port 2222, and this IP's username and password, then confirm. BitBrowser has the same fields.

    Expected result Check proxy in the antidetect browser shows the country you bought.

    Before continuing Keep One-click boost on; the address in the antidetect browser does not change. One profile per IP, and sign in to each Claude account in one profile only.

  2. If One-click boost won't turn on (antivirus, no admin rights)

    On the client's Relay page open the manual set-up, find the group that matches your console address, and note the port on the HTTP line (for example 12222; use what the page shows). In the antidetect browser enter HTTP, 127.0.0.1 and that port, with the console username and password (not blank).

    Expected result Check proxy shows the IP you bought.

AdsPower proxy form: type HTTP, host proxy.proxy302.com, port 2222, the console username and password, then confirm
④: copying the console values into AdsPower (Chinese UI; username and password are placeholders)
Open full-size figure

⑤ The Claude app on a phone

  1. iPhone with your own node: chain the static IP in Shadowrocket

    In Shadowrocket tap +, choose SOCKS5, enter the address, port 3333, username and password of this IP, and switch off UDP relay. Tap the node's ⓘ and under Proxy Via pick your own node that already opens overseas sites. On the home screen set Global Routing to Config, select the static IP node and switch it on.

    Expected result ipinfo.io in Safari shows your IP; then open the Claude app and sign in.

  2. No node of your own: use the client on your computer

    On the client's Relay page open the manual set-up and tick the option that lets phones and other computers on the local network use it; note the computer's LAN address and the port on the HTTP line. On the iPhone go to Settings → Wi-Fi → ⓘ for this network → Configure Proxy → Manual, enter the computer's address and that port, turn on Authentication and enter this IP's username and password.

    Expected result While the phone and the computer share the Wi-Fi, the Claude app uses the IP you bought.

    Before continuing This only applies to this Wi-Fi; on mobile data the phone goes direct, so check you are on this Wi-Fi before opening Claude.

Keep Chinese sites on your local network

In the client's Settings turn on Chinese sites direct: Chinese sites use your local network while overseas sites such as Claude keep using the static IP. It applies to windows opened afterwards; if you use the system proxy, turn it off and on once.

The Chinese sites direct switch in the client's Settings
Settings: Chinese sites direct (Windows client in Chinese, some details masked)
Open full-size figure

How to confirm it works

Wherever you use Claude (the Open browser window, the antidetect profile, Safari on the phone), open ipinfo.io and check that ip and country match the IP you bought. The desktop app and Claude Code use the system proxy, so check with a browser on the same computer. The computer and the phone should show the same IP.

If it doesn't connect

claude.ai keeps spinning or won't load

Check Does Relay show connected? Are you in the window opened by Open browser?

Fix Turn on One-click boost again and click Yes; open a new window with Open browser. Close any other acceleration software first.

Claude says it isn't available in your region

Check Does ipinfo.io in the same window show the country you bought?

Fix If not, the traffic isn't using the IP: use the Open browser window on the web, and for the desktop app confirm the system proxy is set and restart it.

Claude Code reports ECONNRESET or can't reach the API

Check Is HTTPS_PROXY set in the window that runs claude? What does the Proxy line in /status show?

Fix Set the variable again in the same window and run claude; start it with http://, not socks5://.

The client sign-in page shows one button and no input boxes

Check Is the client up to date?

Fix Update the client; if that doesn't help, right-click the client icon in the system tray on Windows, or click it in the menu bar on a Mac, choose quit, reopen it and sign in with the client's own input boxes.

Authentication failed or HTTP 407

Check Has the IP expired? Did you copy an extra space with the username or password?

Fix Check the status and credentials under My proxies; if it still fails, open a ticket in the console with a screenshot.

FAQ

Can I use Claude with One-click boost alone, without buying an IP?

No. One-click boost only stabilises the China-to-overseas leg; the exit Claude sees comes from the static IP you bought.

Can my computer and phone use the same IP at the same time?

Yes. The same username and password work on a computer and a phone at the same time, with no extra purchase; HTTP (2222) and SOCKS5 (3333) can also be used at the same time. The target site may apply its own risk checks to one account on several devices; that is unrelated to the IP.

Does a static IP stop Claude from banning my account?

No one can promise that. Claude's account risk decisions belong to Anthropic, and no IP can guarantee an account won't be banned. A static IP keeps one account signing in from the same clean exit instead of a different country every day. See the Claude account checklist for what else to watch.

Will Chinese sites get slower?

With Chinese sites direct on, Chinese sites use your local network at their usual speed.

Do I also need the Fast Connect tool?

No. The client already includes One-click boost and the manual ports. If you can't sign in to the client, the Fast Connect tool's One-click boost can stand in; don't run both boosts at once.

Further reading

Setup guides Proxy302 publishes on GitHub on the same topic:

Reference links

2
  1. Proxy302 client UI (checked against 3.5.4 code)

    Product observation · Confirmed on:

    Button names follow the client team's 21 November check of the 3.5.4 code: Relay, One-click boost, Open browser, More → use as system proxy, set as the computer's system proxy, send to AdsPower / BitBrowser, manual set-up, LAN sharing, Settings → Chinese sites direct. Screenshots are the Windows client on a test computer.

  2. Claude Code docs: enterprise network configuration

    Official documentation · Confirmed on:

    Read on 22 October 2026: Claude Code reads HTTPS_PROXY / HTTP_PROXY, supports HTTP proxies and not SOCKS; /status shows the proxy in use.

Ready to try it?

Create an account, top up once, then pick rotating residential, static ISP or datacenter IPs and have one running in your browser within minutes.