This guide outlines a basic OpenVPN server setup.
sudo apt update
sudo apt install -y openvpn easy-rsa
sudo dnf install -y openvpn easy-rsa
Use Easy-RSA to generate a CA, server certificate, and client certificates.
Create a server configuration in /etc/openvpn/server.conf and reference your certs.
sudo systemctl enable --now openvpn-server@server
Distribute client configuration files and connect using OpenVPN clients.
See OpenVPN Configuration for configuration guidance.
Any questions?
Feel free to contact us. Find all contact information on our contact page.
Prefer automation? See OpenVPN Ansible Setup for an example playbook.
Prefer containers? See OpenVPN Docker Setup.
See OpenVPN Security for hardening guidance.