Killswitch added with firewall, fixes #3

This commit is contained in:
Quentin McGaw
2018-06-06 22:44:11 -04:00
parent f6d6b69043
commit 7aa43274b1
3 changed files with 47 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ LABEL maintainer="quentin.mcgaw@gmail.com" \
ram="12MB" \
cpu_usage="Low" \
github="https://github.com/qdm12/private-internet-access-docker"
RUN apk add -q --progress --no-cache --update openvpn unbound ca-certificates && \
RUN apk add -q --progress --no-cache --update openvpn unbound ca-certificates iptables && \
apk add -q --progress --no-cache --update --virtual=build-dependencies unzip && \
mkdir /openvpn-udp-normal /openvpn-udp-strong /openvpn-tcp-normal /openvpn-tcp-strong && \
wget -q https://www.privateinternetaccess.com/openvpn/openvpn.zip \
@@ -29,4 +29,4 @@ ENV ENCRYPTION=strong \
REGION=Germany
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT /entrypoint.sh
ENTRYPOINT /entrypoint.sh