Skip to content

⚠️ DEPRECATED ::: openvpn based on debian:jessie

Notifications You must be signed in to change notification settings

ServerContainers/openvpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker OpenVPN (servercontainers/openvpn)

maintained by ServerContainers

FAQ - All you need to know about the servercontainers Containers

What is it

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

Environment variables

currently no available

Ports

  • 1194
    • default OpenVPN Port

Volumes

  • /etc/openvpn
    • this is where the container looks for:
      • config.ovpn (openvpn server configuration)
      • crl.pem (certificate revocation list - if specified in server configuration)

Example Server Configuration

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>

About

⚠️ DEPRECATED ::: openvpn based on debian:jessie

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages