Deploy your own WireGuard VPN infrastructure with Docker. Connect securely from anywhere using our simple CLI client. No subscriptions, no third parties, complete control.
A modern, self-hosted VPN solution built on WireGuard protocol
Built on the modern WireGuard protocol - faster, simpler, and more secure than OpenVPN or IPSec.
Deploy with a single docker-compose command. Spin up multiple server locations in minutes.
Intuitive command-line client. Connect, disconnect, and switch servers with simple commands.
WireGuard keys generated locally. Your private key never leaves your device.
Deploy VPN servers in multiple locations. Users can choose and switch between them.
Temporary 24-hour sessions with automatic cleanup. No persistent device configs on server.
Built-in Nginx load balancer for API traffic. VPN traffic goes direct to servers.
Your server, your rules. No third-party logging or tracking. Complete privacy.
Get your VPN infrastructure running in minutes
Set up your VPN infrastructure
The docker-compose includes VPN servers for multiple locations (India, UK, Japan, US), MySQL database, and Nginx load balancer.
Connect from any device
Requires Go 1.24+ and WireGuard tools. The CLI handles key generation, session management, and WireGuard configuration automatically.
bit-vpn authLogin or register
bit-vpn serversList VPN locations
bit-vpn connectConnect to VPN
bit-vpn disconnectDisconnect VPN
bit-vpn statusCheck connection
Session-based VPN with client-side key generation
Authentication and session management routed through Nginx load balancer
WireGuard UDP packets go directly to the selected server endpoint
24-hour sessions with max 5 concurrent per user, auto-cleanup on expiry