justin8 / docker-torguard-openvpn

MIT License
11 stars 10 forks source link

Torguard config file location #3

Open kimvanwyk opened 5 years ago

kimvanwyk commented 5 years ago

Small changes to take the latest Torguard config files (the file location changed on their server) and to cater for the Alpine openvpn version which now uses up.sh and down.sh scripts rather than a update-resolv-conf script

fulhaq commented 4 years ago

I changed the dockerfile as such to overcome the cert problem:

FROM alpine:latest
MAINTAINER Justin Dray justin@dray.id.au

RUN apk add --no-cache openvpn openssl

RUN wget https://torguard.net/downloads/OpenVPN-UDP-Standard.zip -O OpenVPN-UDP.zip && \ unzip OpenVPN-UDP.zip

WORKDIR /OpenVPN-UDP

COPY openvpn.sh /usr/local/bin/openvpn.sh

ENV REGION="Australia.Sydney" ENTRYPOINT ["openvpn.sh"]