OpenVPN Install is an interactive Bash script for creating a road-warrior OpenVPN server on common Linux distributions. It detects supported operating systems, network interfaces, public addressing, IPv6 availability, and required privileges before making changes. The setup assistant lets administrators choose UDP or TCP, a listening port, DNS resolvers, and the first client name. It installs OpenVPN and Easy-RSA, creates certificates and keys, configures routing, and applies firewall rules through iptables or firewalld. The script produces a self-contained client configuration file that can be transferred to a user’s device. Running it again allows administrators to add clients, revoke existing certificates, or remove the server completely. It supports Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS, and Fedora.
Features
- Interactive OpenVPN server installation
- UDP and TCP configuration
- Automatic certificate generation
- IPv4 and IPv6 routing
- Custom DNS resolver selection
- Client addition and revocation tools