2026-05-12 14:52:33 -04:00
|
|
|
# Custom wg-easy with iptables-nft (nftables-backed iptables)
|
|
|
|
|
# Fixes crash-loop when host kernel lacks legacy iptable_nat module.
|
2026-05-13 12:30:15 -04:00
|
|
|
FROM ghcr.io/wg-easy/wg-easy:latest
|
2026-05-12 14:52:33 -04:00
|
|
|
|
2026-05-13 12:58:43 -04:00
|
|
|
# The upstream image registers only iptables-legacy with update-alternatives.
|
|
|
|
|
# iptables-nft binary exists but isn't registered as an alternative key.
|
|
|
|
|
# Override the alternatives-managed symlinks directly.
|
|
|
|
|
RUN ln -sf /usr/sbin/iptables-nft /usr/sbin/iptables && \
|
|
|
|
|
ln -sf /usr/sbin/ip6tables-nft /usr/sbin/ip6tables
|