Installing OpenVPN Onto a Centos 7 VM With a Script on Proxmox 5.4
In this recording I am installing Centos 7 onto a Proxmox VE host, so that it can act as an OpenVPN server. Because this vm is behind the NAT of the IPFire vm, I have to start an ssh tunnel that sends out a reverse tunnel, so that the IPFire router and the Centos 7 vm can be connected to.
Go to VM´s 'Monitor' panel in the web interface.
change vnc 0.0.0.0:16
ssh container-ip -R 444:ipfire-green-ip:444 -R 2222:127.0.0.1:22
nmtui
yum update
yum install nano screen wget
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh