BoringTun is an implementation of the WireGuard® protocol designed for portability and speed.
https://blog.cloudflare.com/boringtun-userspace-wireguard-rust/
Provide WireGuard configuration file to /etc/wireguard/${INTERFACE}.cnf
.
-v ./wireguard.conf:/etc/wireguard/wg0.conf
Give extended privileges to this container --privileged
.
INTERFACE
Set the name of created interface. Respective WireGuard configuration file name is /etc/wireguard/${INTERFACE}.cnf
Default: wg0
.
WG_LOG_LEVEL
Set the verbosity level of logging messages. One of: error
, info
, debug
, trace
. Default: info
.
WG_LOG_FILE
Set the logging file destination. Default: /var/log/boringtun
.
WG_THREADS
Set the number of OS threads to use. Default: 4
.
The project is licensed under the BSD 3-Clause License.
WireGuard is a registered trademark of Jason A. Donenfeld. BoringTun is not sponsored or endorsed by Jason A. Donenfeld.