Description
Gerbil is a WireGuard interface management server written in Go, and it is one part of the Pangolin system. It creates and configures WireGuard interfaces on a Linux machine or inside a Docker container, using values from a JSON config file or sent by the remote server. If the interface already exists, Gerbil reconfigures it. It creates the peers defined in the config, and an HTTP API lets you add, remove and update peers while the interface is running. Every 10 seconds it collects the bytes sent and received by each peer, and the incremental usage is available from an API endpoint, so you can track data use per peer on the remote server. Gerbil listens on UDP port 21820 for hole punch packets that help Olm and Newt clients connect through NAT, and it can relay data through the server down to Newt. An SNI proxy reads the hostname from incoming TLS connections and asks Pangolin where to route them. Gerbil works with Pangolin, Newt and Olm, and the README links to full documentation for installation and use.…
Highlights
- Creates and configures WireGuard interfaces
- Adds, removes and updates peers over an HTTP API
- Reports per-peer bandwidth every 10 seconds
- NAT hole punching and relaying for Olm and Newt
- SNI proxy that routes HTTPS traffic
Ratings & Reviews
No ratings yet
Be the first to rate Gerbil.
People also visit
OPNsensePIAWireguard
This script automates the process of getting Wireguard setup on OPNsense
Gerbil FAQ
What is Gerbil?
A WireGuard interface management server written in Go. It creates interfaces and manages their peers, and it is part of the Pangolin system.
Which projects does it work with?
Pangolin, Newt and Olm. Gerbil is one part of that larger system.
How are peers managed?
From a JSON config file or through the HTTP API, which can create, remove and update peers while the interface runs.
Does it track data usage?
Yes. Bytes sent and received by each peer are collected every 10 seconds, and incremental usage is available from the API.
Where do I learn to set it up?
The README links to full documentation for installation and setup.
What are the best Gerbil alternatives?
Popular alternatives to Gerbil include WG Manager, Wireguard P2p and WGDashboard. See all Gerbil alternatives

