Skip to content

Commit

Permalink
Merge pull request #24 from lisenet/fix-replace-iptables-with-iptable…
Browse files Browse the repository at this point in the history
…s-legacy

Replace iptables with iptables-legacy
  • Loading branch information
lisenet authored Apr 2, 2024
2 parents 757a964 + 6482a6c commit 42a6919
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ FROM alpine:edge
LABEL maintainer="Tomas Nevar <[email protected]>"

# Testing: pamtester
RUN apk add --update openvpn iptables bash easy-rsa openvpn-auth-pam google-authenticator libqrencode && \
RUN apk add --update openvpn iptables iptables-legacy bash easy-rsa openvpn-auth-pam google-authenticator libqrencode && \
apk update && apk upgrade && \
ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \
rm /sbin/iptables && \
ln -s /sbin/iptables-legacy /sbin/iptables

# Needed by scripts
ENV OPENVPN=/etc/openvpn
Expand Down

0 comments on commit 42a6919

Please sign in to comment.