I just installed a centos version on AWS. But I am not able to install openvpn.
When I try: sudo yum -y install openvpn
I get this error message:
Geladene Plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.ratiokontakt.de
* centosplus: mirror.fra10.de.leaseweb.net
* extras: mirror.imt-systems.com
* updates: mirror.fra10.de.leaseweb.net
Kein Paket openvpn verfügbar.
Fehler: Nichts zu tun
Sorry, this is in German (another thing that bothers me). But loosely translated it is like:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.ratiokontakt.de
* centosplus: mirror.fra10.de.leaseweb.net
* extras: mirror.imt-systems.com
* updates: mirror.fra10.de.leaseweb.net
No package openvpn available.
Error: Nothing to do
actually pretty weird. I do not understand why is does not find anything.
How do I solve this annoying problem?
OpenVPN is not available via standard repos available in cent os .. It's available via EPEL repository. First install EPEL repo and then install open vpn.
Step 1: update cent os and Enable EPEL repository
On CentOS 6:
On CentOS 7:
Step 2: Install openvpn
Source : https://www.quickservers.com/en/how-to-install-openvpn-on-centos.php https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on-centos-7