Every connection through your own server. Nothing leaks when it drops.
bx captures all TCP and UDP on the machine at the network layer, carries it over VLESS-REALITY to a server you control, and blocks traffic instead of falling back to your real connection when the tunnel is down. One static binary, no proxy settings, no shared nodes. It also ships a standalone leak test for any VPN.
Set up in two commands Test your current VPN
Install on macOS or Linux:
curl -fsSL https://dl.getbx.net/install.sh | shEvery connection on this machine
- LAN and your direct rulesDirect
- Everything elseEncrypted tunnel → your serverVLESS-REALITY · TCP
hysteria2 · UDP - Tunnel unhealthyBlocked, never sent direct
Built for filtered networks
For people whose network filters the open internet, or whose region is blocked by the services they rely on.
- Transport
- VLESS-REALITY over TCP: the handshake is a real TLS session to a real site, so active probes see that site, not a proxy. hysteria2 (QUIC) carries UDP; if UDP is blocked it falls back to the primary tunnel, not to direct. Also accepts trojan, Shadowsocks, VMess and brook links.
- Capture
- A TUN device with a userspace TCP/IP stack and fake-IP DNS. Applications need no proxy settings, including CLIs that ignore system proxies.
- Kill switch
- Fail-closed by design. While the tunnel is unhealthy, connections that should be tunnelled are blocked. bx's own outbound traffic is routed around the tunnel so it cannot loop through itself.
- Routing
- Full tunnel by default; LAN, Docker and link-local ranges always stay direct. Domain and CIDR rules reload without dropping the tunnel. An optional mainland-China split list is built in.
- Server
- One command on any Linux VPS. The IP is yours alone. No accounts, no subscriptions.
- Resilience
- Several transports in priority order with automatic failover and failback. Recovers routes after sleep and network changes.
- Updates
- Release manifests are signed with Ed25519 and checked before install. The macOS app is Developer ID–signed and notarized.
- Coexistence
- Works alongside Tailscale, ZeroTier and Docker.
- Agents
bx mcpgives AI agents status and diagnostics over MCP. It cannot turn protection off.
AI accounts flagged or banned
Claude, ChatGPT, Gemini and Grok are only offered in some regions. Accounts often get flagged for inconsistent signals rather than misuse: the browser goes through a proxy while Claude Code or Codex in the terminal goes out directly; the tunnel drops for a few seconds and requests leave from the real network; WebRTC reveals the real address. bx puts every process behind one egress and blocks when it drops.
Which signals services see, and what bx can and cannot do about them
Test the VPN you already use
The leak test works on its own: no server, no root, no configuration, and it runs while another VPN is connected. It opens a one-time page on 127.0.0.1 and checks the browser side and the operating-system side together:
Deep test (macOS): bx watches the packets that actually leave your network card and, after you confirm, briefly cuts your VPN off and switches Wi-Fi off and on to see whether anything slips out. How to use the leak test.
Results stay on your machine. How each check is judged: leak surfaces.
- Public egress address and its country
- WebRTC ICE candidates against the HTTP egress
- IPv6 and DNS resolver paths
- Time zone and language against the egress country
- Routes injected to bypass the tunnel (TunnelVision, CVE-2024-3661)
- Reachability of the Anthropic, OpenAI and Google AI APIs, including bot challenges
On macOS or Linux:
curl -fsSL https://dl.getbx.net/install.sh | sh
bx leakcheckSet up in two commands
You need a Linux VPS outside the filtered network. What to buy.
-
On the server
Installs a VLESS-REALITY and a hysteria2 endpoint, then prints the exact client command.
curl -fsSL https://dl.getbx.net/install.sh | sh sudo bx server up --open-ufw -
On the computer
Paste the printed command, then turn protection on. On a Mac the app can also set up the server for you over SSH, so you can skip step 1.
sudo bx setup --udp '<udp link>' '<main link>' sudo bx up bx status
Server IP blocked? Change the IP; with a domain in the link, clients follow on their own.
Built on open source
Projects bx builds on or learned from. Listing them credits their work; it does not mean they endorse bx.
- Go The language bx is written in: one static binary per platform.
- gVisor Its userspace TCP/IP stack terminates the traffic captured by the TUN device.
- WireGuard wireguard-go's TUN layer drives the virtual interface on macOS and Windows.
- sing-box The bundled transport core for REALITY and hysteria2; libbox runs it inside the iPhone app.
- REALITY The TLS camouflage design from Project X that the main tunnel uses.
- Hysteria The QUIC-based protocol that carries UDP.
- brook Bundled so brook links keep working.
-
Model Context Protocol
The protocol
bx mcpspeaks to AI agents. - Tailscale Its ownership model, where whoever installed it controls it without admin rights, shaped bx's control plane.
- Cloudflare Hosts this site and the release downloads.