OpenVPN modifications
This commit is contained in:
parent
cf0a969288
commit
ea4b3f5b70
@ -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
5
openvpn.conf
Normal file
@ -0,0 +1,5 @@
|
||||
[program:openvpn]
|
||||
command=openvpn --config /etc/openvpn/client.conf
|
||||
autorestart=true
|
||||
directory=/etc/openvpn/
|
||||
|
Loading…
Reference in New Issue
Block a user