yum -y install epel-release
yum -y install NetworkManager-openvpn
cd /usr/sbin/openvpn
automatic login:
create ovpn.username.txt with:
username
password
vi /etc/openvpn/tta.conf
auth-user-pass ovpn.username.txt
cp ovpn.username.txt /etc/openvpn/
cp tta.conf /etc/openvpn/
./openvpn –config /etc/openvpn/tta.conf –auth-user-pass /etc/openvpn/ovpn.username.txt
autostart openvpn
systemctl enable openvpn@tta
systemctl status openvpn@tta.conf.service