Public | Automated Build

Last pushed: 16 hours ago
Short Description
VPN Server in Docker container
Full Description

VPN server Docker image

How to generate keys for server ?

Simple !

Clone Easy-RSA

git clone https://github.com/OpenVPN/easy-rsa.git

And start building certificates

cd ./easy-rsa/easyrsa3
./easyrsa init-pki
./easyrsa build-ca nopass
./easyrsa gen-dh
./easyrsa build-server-full vpn.domain.tld nopass
openvpn --genkey --secret keys/ta.key

How to generate keys for client?

cd ./easy-rsa/easyrsa3
./easyrsa build-client-full client.vpn.domain.tld nopass

Container starting

docker run -d --privileged -p 1194:1194/udp -v ~/tmp:/var/log/openvpn vpn:latest
Docker Pull Command
Owner
andreas4all
Source Repository

Comments (0)