Simple Bash script to Add/Remove/Export Client Certificates of your OpenVPN Docker Instance
✅ Easy to use
✅ Keeps System clean
✅ Fancy looking ✨ ASCII Art ✨
✅ Removes leftover Configuration files
🔶 Does not handle errors very well :/
- A working OpenVPN Docker Installation of https://hub.docker.com/r/kylemanna/openvpn
- OpenVPN Docker Data at /opt/openvpn (-v /opt/openvpn:/etc/openvpn)
- The /opt/openvpn/clients folder (you can also put your script there)
- Sudo and Docker Privileges on your system
Just download the file straight from the main branch and run it on your OpenVPN Server.
It will work as a normal user with sudo privileges but wont be able to put your configurations into /opt/openvpn/clients
wget https://raw.githubusercontent.com/freddy1301/ovpn-clientmanager/main/clients.sh && chmod +x clients.sh && ./clients.sh