A Dockerfile that extends linuxserver/wireguard with the
iptables-wrappers scripts to support Red Hat or RHEL-derived
distributions such as Fedora or AlmaLinux.
No warranty nor any kind of support is guaranteed for this container image. This repository is not affiliated with Red Hat, Kubernetes, or LinuxServer.io.
This Dockerfile:
- Builds a specific commit hash of
iptables-wrapperusing a temporary Go container in the first build step. - Copies the
iptables-wrapperbuild output to the final build step based off of a specificlinuxserver/wireguardtag. - Installs
nftablesand runs theiptables-wrapperinstallation script.
The LinuxServer.io configuration then takes over and begins running Wireguard like the official image.
Based off of the example given in a feature request for
linuxserver/wireguard.