I have a VDS server with CentOS 7, iptables, apache, ssh. VDS is by Gt host
. Also I have a paid VPN account with a dedicated IP. It is necessary that VDS automatically connect to the VPN. Apache should only work through VPN and SSH should only work through a real IP.
OpenVPN is installed on VDS; Config, certificates and the VPN provider key was uploaded in / etc / openvpn. Just after VDS has connected to VPN, the server stops pinging, the web page doesnít open nor on real IP neither on a dedicated VPN. Tried to turn off Iptables, but it didnít help.
I need an advice - what to do? I didnít find any articles on the Internet, probably I hadnít search correctly, but all the articles on "how to raise VPN server" ...