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).

New contributor
noob123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.


Your Answer

noob123 is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.