این صفحه هنوز به فارسی ترجمه نشده است؛ نسخهای به زبان دیگر در زیر نمایش داده میشود.
iPhone
Current status: the iPhone app is not on the App Store yet; it is currently a development build installed only on the maintainer's own phone. What follows describes what it does and how to use it, for when it is released.
What it does
The same as bx on a computer: all of the phone's traffic goes out through your own server, while Chinese websites still connect directly; when the tunnel is down, nothing is let out (fail-closed). The interface follows the system language, and you can also switch it with the globe in the top-right corner (Follow System / English / 简体中文).
First launch: three paths
| Your situation | What to tap | What happens |
|---|---|---|
| bx is already set up on your computer | Scan a code | In the Mac menu, click Scan with iPhone…; after you authorize reading the links, it shows a QR code; scan it with bx on the phone, check the address, then confirm adding or replacing. Also works while protection is off on the computer |
| You have bought a VPS and have its address and password | I have a server | Enter the address, login name, and password, and the app installs the server by itself (the password is used only this once and is not saved) |
| You have nothing yet | I don't have a server yet | Explains what kind of VPS to buy and what the provider will give you; when you're done reading, it takes you straight to the previous path |
A bx:// link someone sent you: copy it, then tap Paste on the first screen. A link from any source first shows you the server address; it only takes effect after you tap
Add.
The link is the key: whoever has it can use your server. Send it only to people you trust, and don't paste it into group chats.
Turning on protection
The first time you tap Turn On Protection, the iPhone asks whether to allow adding a VPN configuration — tap Allow.
If the screen shows Can't reach your server: at this point none of the phone's traffic goes out (this is exactly protection doing its job). If you want to get online before the server is fixed, tap Turn Off Protection.
Third-party connections: Tailscale
The iPhone can run only one VPN at a time. To reach devices on your Tailscale network while bx is on: Third-party connections → Tailscale → turn on the switch → Sign In to Tailscale. The page lists whether your devices are online. VPN On Demand in the Tailscale app must be turned off, otherwise it will push bx out.
Rules
Tap the Rules row to see which route each app that bx recognizes on this iPhone takes (WeChat, QQ, Tencent Meeting, Douban, and Apple's built-in services) — only the ones you have installed are listed. bx asks "is it installed?" locally on the phone and sends nothing out; iOS does not tell a VPN which app a connection comes from, so "this app connects directly" relies on the domains it uses.
By default the phone uses bx's split-routing rules, and the apps above already connect directly under the default rules. The direct/tunnel rules you change on the Mac are synced to the phone through your own server (the server must have run
sudo bx server enable-sync once). When the Mac is in global mode, the phone follows into global mode too; the apps in the list then show
"Through the tunnel", and it tells you which groups to turn on in the Mac's routing rules.