WireGuard MeshMaker is a simple tool to create a WireGuard-based mesh network between multiple servers. With this tool, you can connect all your servers to each other automatically using a web interface.
- Automatically configures a WireGuard mesh network.
- Simple WebUI to manage your servers.
- Easy setup with minimal dependencies.
- Written in Go for fast and lightweight execution.
- Clone the repository:
git clone https://github.com/yourusername/wireguard-meshmaker.git
cd wireguard-meshmaker
- Build the project (optional if using precompiled binaries):
go build ./...
The master server is where you register all your nodes and manage the mesh network.
./master
Open the WebUI in your browser to add servers. The master handles all configuration automatically.
Each server you want to add to the mesh runs the worker with its API key:
WORKER_API_KEY=your_api_key ./worker
WORKER_API_KEYis generated in the Master WebUI for each worker.- The worker connects to the master and joins the mesh network.
- Start the Master server.
- Register all your servers in the WebUI.
- Start Workers on each server with their API keys.
- All servers are automatically connected in a fully meshed WireGuard network.
Contributions are welcome! Feel free to open issues or submit pull requests.
MIT Lic