Beacon VPN client for laptops and desktops to connect to Beacon agent managed computers.
beacon-vpn connects this computer to a Beacon-managed exit node using
WireGuard. The exit node still runs the full beacon agent; this repo is only
for client machines that do not need the full Beacon binary.
VPN traffic flows directly between your devices. BeaconInfra is only used for API-key auth, public-key registration, and peer endpoint lookup.
go install github.com/Bajusz15/beacon-vpn/cmd/beacon-vpn@latestTagged releases build standalone binaries for macOS, Linux, and Windows on AMD64/ARM64.
Save your Beacon API key once:
beacon-vpn loginRemove the saved API key:
beacon-vpn logoutConnect to an exit node by its Beacon device name:
beacon-vpn connect my-home-piconnect runs in the foreground and keeps the tunnel alive until you press
Ctrl+C. It deregisters the client on shutdown.
On Windows, run beacon-vpn connect from an elevated terminal. The client uses
Wintun and expects wintun.dll to be available next to the executable or on
PATH.
Show saved local configuration:
beacon-vpn statusForce deregistration and remove the local VPN key:
beacon-vpn disconnectbeacon-vpn enable-exit-node prints the full-agent commands for hosting
machines. Exit-node mode intentionally remains in the main beacon binary.
The client reuses Beacon's config path:
api_key: usr_xxxxxxxxxxxxxxxx
device_name: mate-macbookThe file lives at ~/.beacon/config.yaml by default. Set BEACON_HOME to use a
different directory.
On the hosting machine, keep using the full Beacon agent:
beacon cloud login
beacon vpn enable
beacon master --foregroundThe exit node must have a reachable WireGuard UDP port in the current direct connection phase.