8000 GitHub - cloudtogo/containerized-wireguard: Multi-arch WireGuard images for embedded Linux on amd64, arm64v8 and arm32v7
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cloudtogo/containerized-wireguard

Repository files navigation

Containerized Wireguard

This project provides a wireguard image that contains the userspace wireguard implementation, wireguard-go, wireguard utilites wg and wg-quick. In particular, its image size is less than 10MB and can work on embedded Linux distros no matter whether the wireguard kernel driver is installed.

Feel free to report issues or request images for new arches.

Images

The multi-arch image for amd64, arm64/v8 and arm32/v7 is published on DockerHub cloudtogo4edge/wireguard-us.

Tags

Usage

The usage is quite easy that needs only 4 steps,

  1. Mount hostpath /dev/net/tun,
  2. Mount wireguard config file to /etc/wireguard, say /etc/wireguard/wg0.conf,
  3. Set the net link name via environment variable WG_DEV,
  4. Start the container with linux capability NET_ADMIN,
  5. hostnetwork(--net=host) and privileged(--privileged) are required if you use a kernel module.

If you already have a Kubernetes cluster, feel fr 5FF2 ee to test with the manifest hack/manifests.yaml.

About

Multi-arch WireGuard images for embedded Linux on amd64, arm64v8 and arm32v7

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0