hotfix(firewall): support iptables-legacy for older kernels

This commit is contained in:
Quentin McGaw
2024-05-02 16:54:29 +00:00
parent 6dd27e53d4
commit fb145d68a0
3 changed files with 3 additions and 3 deletions

View File

@@ -218,7 +218,7 @@ RUN apk add --no-cache --update -l wget && \
apk add --no-cache --update -X "https://dl-cdn.alpinelinux.org/alpine/v3.17/main" openvpn\~2.5 && \
mv /usr/sbin/openvpn /usr/sbin/openvpn2.5 && \
apk del openvpn && \
apk add --no-cache --update openvpn ca-certificates iptables ip6tables unbound tzdata && \
apk add --no-cache --update openvpn ca-certificates iptables iptables-legacy unbound tzdata && \
mv /usr/sbin/openvpn /usr/sbin/openvpn2.6 && \
# Fix vulnerability issue
apk add --no-cache --update busybox && \