How to change the ip of a remote server

Posted October 22, 2020 664 views
VPNDebian 10

Hello, I have a server with Debian 10.

I would like to know if it would be possible to install some kind of a VPN on my remote server to change my ip WITHOUT being disconnected via SSH. (because I tried to install NordVPN but when I activate it, all my prompts close and I need to restart the server)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

In order to use a browser and go to websites with a different ip.

I am not sure if I got your idea. So, you are sitting at your PC, being sshed to your droplet (Debian 10). You are opening in your internet browser on your PC, and web server of is getting http request from your internet browser with source IP which is different both to your PC’s public IP and your droplet’s public IP. Do you mean the configuration like that ?

Hello @Yannek
I have a physical Debian 10 server (it’s not a Droplet).
I would just like to be able to connect from my PC to my server via SSH / VNC and then once connected, from the desktop to my server when I access the ip that google sees must be different than the one on my server.

  • Thank you for an explanation. I believe your concept could be deployable, however, your PC public IP address would has to be static. Having it static, you could define a static route to your PC on the server. So, when VPN connection was established on the server, and all internet traffic was redirected through VPN tunnel, it would be just one exception - the connection to your PC. It would be carried on outside of VPN tunnel.