OpenVPN modifications

This commit is contained in:
Dave Pedu 2015-10-02 00:25:03 -07:00
parent cf0a969288
commit ea4b3f5b70
2 changed files with 8 additions and 0 deletions

View File

@ -30,6 +30,9 @@ RUN chmod +x /start ; \
sed -i -e"s/^UnitMode\s0/UnitMode 1/" /etc/vnstat.conf ; \
sed -i -e"s/^RateUnit\s1/RateUnit 0/" /etc/vnstat.conf
# Install openvpn
RUN apt-get install -y openvpn
COPY openvpn.conf /etc/supervisor/conf.d/openvpn.conf
# Expose deluge-web, deluge
EXPOSE 8112

5
openvpn.conf Normal file
View File

@ -0,0 +1,5 @@
[program:openvpn]
command=openvpn --config /etc/openvpn/client.conf
autorestart=true
directory=/etc/openvpn/