Nyr/openvpn-install ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Bash installer that sets up an OpenVPN road warrior server on Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS, or Fedora.

I want it to be easy enough for someone who has never used OpenVPN before, so when they run the script it should guide them with a few clear questions, do the setup automatically, and finish with a ready to use client profile they can download. After it is installed, I should be able to run the script again to add more users, remove existing users, or completely uninstall OpenVPN.

Keep it as universal and unobtrusive as possible, and make sure it handles the common server setup steps cleanly. If you need to look up current docs or best practices while doing it, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab