Browse Source

OpenVPN modifications

trusty
Dave Pedu 5 years ago
parent
commit
ea4b3f5b70
2 changed files with 8 additions and 0 deletions
  1. +3
    -0
      Dockerfile
  2. +5
    -0
      openvpn.conf

+ 3
- 0
Dockerfile 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
- 0
openvpn.conf View File

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


Loading…
Cancel
Save