Skip to content

JoelDewey/rhel-wireguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rhel-wireguard

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.

Process

This Dockerfile:

  1. Builds a specific commit hash of iptables-wrapper using a temporary Go container in the first build step.
  2. Copies the iptables-wrapper build output to the final build step based off of a specific linuxserver/wireguard tag.
  3. Installs nftables and runs the iptables-wrapper installation script.

The LinuxServer.io configuration then takes over and begins running Wireguard like the official image.

References

Based off of the example given in a feature request for linuxserver/wireguard.