Peace, mercy and blessings of God
Today we going to Explain how to install OpenVPN server on your VPS to use as a personal VPN for you to change your IP and surf the Internet safely.
To be able to use it on your computer or mobile devices
First: The server must clean not use Apache before , to not cause a conflict between them
(They may work together at the same time, but this is not what we are going to explain today)
Works On these Systems
Ubuntu Debian Redhat Centos
open this page
https://openvpn.net/vpn-software-packages
select the system you need
for example I selected Centos
Select your version
the command will be shown
yum -y install https://as-repository.openvpn.net/as-repo-centos8.rpm
yum -y install openvpn-as
do them on your server using ssh
after Installation this links will shown
Admin UI: https://xx.xx.xxx.xxx:943/admin
Client UI: https://xx.xx.xxx.xxx:943
instead of x will be your server IP
Second: Setup openvpn Passwird
Use this command
passwd openvpn