Setup VPN Docker¶
⚠️ Notice
Do not use this, even for fun, it's WIP and not ready for any use.
Generate Certificates:¶
Defaults (easy)¶
Custom (harder)¶
1) Root Certificate Authority¶
- <your-capass>= The password for the root CA VPN Certificate
- <cacn>= CommonName you can create multiple certs if you are running whitelabel VPN services multiple clients
Server Certificate¶
- <your-capass>= the password for the cert from step 1
- <your-serverpass>= the password for the server certificate thats about to be made
- <your-server-dns>= typically the machine hostname- $(hostname)or the dns enterypoint
Client Certificate¶
- <your-capass>= the password for the CA Cert
- <clientpass>= the password for the client cert about to be made
- <clientcn>= client commonname
Generate a OpenVPN profile¶
Using the default Certificates¶
- <your-server-public-dns>= typically the machine hostname- $(hostname)or the dns enterypoint
Using custom certificates¶
- <clientcn>= client commonname
- <your-server-dns>= typically the machine hostname- $(hostname)or the dns enterypoint