bx
English — Language

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 | sh

Every connection on this machine

  • LAN and your direct rulesDirect
  • Everything elseEncrypted tunnel → your serverVLESS-REALITY · TCP
    hysteria2 · UDP
  • Tunnel unhealthyBlocked, never sent direct
Runs on macOS Windows Linux iPhone

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 mcp gives 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.

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 leakcheck

Set up in two commands

You need a Linux VPS outside the filtered network. What to buy.

  1. 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
  2. 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.

Download v0.5.21

macOSApple siliconIntelMenu bar app, signed and notarized
WindowsInstallerx64 zipARM64 zipNot code-signed yet; SmartScreen asks once (More info → Run anyway)
Linuxx86-64ARM64Static binary; install.sh verifies the SHA-256
iPhoneDetailsNot on the App Store yet