Trang này chưa được dịch sang tiếng Việt; nội dung được hiển thị bằng ngôn ngữ khác.
AI accounts flagged or banned: check your egress first
Claude, ChatGPT, Codex, Gemini and Grok are offered only in some countries and regions. When an account is suspended, asked to re-verify, or stuck behind a bot challenge, a common cause is not what you did but what the service saw: signals that do not agree with each other. The browser goes through a proxy while a CLI goes out directly; the web egress is in one country while WebRTC reports another address; the tunnel drops for a few seconds and the requests in between leave from the real network.
bx does two things about this: it finds the inconsistencies, and it gives the whole machine a single egress that blocks instead of falling back when the tunnel is down. What it cannot do is listed at the end; read that before you rely on it.
What a service can observe
These are signals any website or API receives by construction. They are not guesses about any provider's risk rules.
| Signal | How it leaks | What bx does |
|---|---|---|
| Egress IP and its country | Every request carries it | All traffic on the machine leaves from your own server: one egress |
| One account, several countries | Some processes use the proxy and some do not; or the tunnel drops and traffic falls back to direct | Captures every process at the network layer (TUN), including CLIs that ignore proxy settings; blocks while the tunnel is down |
| WebRTC addresses | The browser's real-time stack reports local and public addresses as ICE candidates | bx leakcheck compares the WebRTC egress with the HTTP egress |
| DNS resolver | Lookups go to the local ISP's resolver | Tunnelled domains are not resolved locally; the name goes to your server with the connection. bx leakcheck checks the resolver path |
| IPv6 | Requests over IPv6 bypass a proxy that only handles IPv4 | bx leakcheck checks the IPv6 path |
| Time zone and language | The browser reports both to every site | bx leakcheck compares them with the egress country; it warns, it does not change your system |
| IP reputation | Commercial proxy nodes are shared by many users, and many accounts have used the same address | Your own VPS; the address is used by you alone |
The usual gap: AI tools in the terminal
Claude Code, Codex CLI and Gemini CLI generally do not read the operating system's proxy settings
or a browser proxy extension. They honour environment variables such as HTTPS_PROXY and connect
directly when those are unset. The result is an account logged in from one country on the web while
the same account's API calls arrive from another.
bx does not depend on proxy settings. It captures traffic at the network layer, so terminals, editor extensions and background updaters all take the same path with nothing to configure.
To see how a destination is routed on your machine:
bx explain api.anthropic.com
It reports what the name resolves to, which rule matches, and whether the connection goes through the tunnel or direct.
Run the leak test
No server, no root and no configuration needed; it runs while another VPN is connected. On macOS or Linux:
curl -fsSL https://dl.getbx.net/install.sh | sh
bx leakcheck
It opens a one-time page on 127.0.0.1 and reports, in separate sections: leaks in the traffic path;
traits that can single you out (time zone, language, local addresses); and whether this machine can
reach the Anthropic API, claude.ai, the OpenAI API and the Google AI API. Reachability is reported
as reachable, refused, challenged or unreachable. A bot challenge usually means the egress address
itself has a poor reputation, not that your setup is wrong. Results stay on your machine.
How each check is judged: leak surfaces.
What bx cannot do
- Regional availability itself. Using a service from a region it does not serve is against that service's terms; whether and when an account is suspended is the provider's decision. bx keeps your egress consistent and leak-free. It cannot guarantee an account will not be suspended.
- Payment method and phone number. Their country has nothing to do with the network.
- A VPS is still a data-centre address. Your own server is far cleaner than a shared node, but it is still a hosting-provider IP, and some services treat those more strictly. See buying a VPS.
- How the account is used. Sharing an account, frequent device changes or bulk sign-ups are outside the network.
Next
- No server yet: install guide.
- Server IP blocked or blacklisted: change the IP.