Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Dockerized BoringTun, a userspace WireGuard® implementation in Rust

License

Notifications You must be signed in to change notification settings

chernetskyi/boringtun-docker

Repository files navigation

BoringTun in Docker

Supported tags and respective Dockerfile links

What is BoringTun?

BoringTun is an implementation of the WireGuard® protocol designed for portability and speed.

https://blog.cloudflare.com/boringtun-userspace-wireguard-rust/

BoringTun Logo

How to use this image

WireGuard configuration file

Provide WireGuard configuration file to /etc/wireguard/${INTERFACE}.cnf.

-v ./wireguard.conf:/etc/wireguard/wg0.conf

Privileges

Give extended privileges to this container --privileged.

Environment variables

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.

License

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.

About

Dockerized BoringTun, a userspace WireGuard® implementation in Rust

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages