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-wrapper
using a temporary Go container in the first build step. - Copies the
iptables-wrapper
build output to the final build step based off of a specificlinuxserver/wireguard
tag. - Installs
nftables
and runs theiptables-wrapper
installation 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
.