I have a hosted linux server with public IP address. I would like to configure it as a VPN server. Then I would like to hide all of its services behind this VPN, so that if I open a socket then by default it is accessible through VPN and not accessible via Internet.
Is it possible?