maintained by ServerContainers
FAQ - All you need to know about the servercontainers Containers
This Dockerfile (available as servercontainers/openvpn) gives you a openvpn server.
It's based on the _/debian:jessie Image
View in Docker Registry servercontainers/mail-box
View in GitHub ServerContainers/mail-box
currently no available
- 1194
- default OpenVPN Port
- /etc/openvpn
- this is where the container looks for:
- config.ovpn (openvpn server configuration)
- crl.pem (certificate revocation list - if specified in server configuration)
- this is where the container looks for:
replace ASDF with the certificate data
proto udp
dev tun
persist-tun
persist-key
port 1194
<dh>
-----BEGIN DH PARAMETERS-----
ASDFASDF
-----END DH PARAMETERS-----
</dh>
crl-verify crl.pem
management localhost 7505
keepalive 10 120
ifconfig-pool-persist openvpn-ipp.txt
status openvpn-status.log
status-version 2
verb 0
user nobody
group nogroup
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DOMAIN localnet.lan"
push "dhcp-option DNS 8.8.8.8"
server 10.8.0.0 255.255.255.0
comp-lzo
<ca>
-----BEGIN CERTIFICATE-----
ASDFASDF
-----END CERTIFICATE-----
</ca>
<key>
-----BEGIN PRIVATE KEY-----
ASDFASDF
-----END PRIVATE KEY-----
</key>
<cert>
-----BEGIN CERTIFICATE-----
ASDFASDF
-----END CERTIFICATE-----
</cert>