I have a VPS with a public IP that I want to hide. I use this VPS to run a service on port 8005 that is accessible in through the public IP x.x.x.x
. This IP also has a DNS name xpto.xyz
.
When I connect to SurfShark VPN the public IP changes. So my question is:
When the VPN is connected in the VPS, should i lose access to
xpto.xyz:8005
?How can I hide my real public IP but still being able to access the server via
xpto.xyz:x
(x
being any port that I need).