Report this

What is the reason for this report?

can not connect to droplet via SSH after enabling nordvpn on the server

Posted on July 12, 2021

I am using the droplet for a NodeJS app, when I enable the nordvpn I am not able to SSH from my pc and also not able to connect to my nodejs app which is running on port 5000.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello, The problem here that I understand is that when you connect your droplet with Nord VPN all the outbound traffic is transferred through the VPN tunnel. When you SSH into the droplet the first connection from your local machine to the droplet will be through droplet public IP but when the droplet replies to the SSH connection it send traffic over the VPN tunnel which is why the cycle doesn’t complete and you can not connect SSH to your droplet.

I would prefer to add a route for your system IP (Public IP) that all of your traffic for your specific IP is routed over the default interface configured on the droplet.

https://devconnected.com/how-to-add-route-on-linux/ https://www.linuxtechi.com/add-delete-static-route-linux-ip-command/

Thanks Mohsin Saeed

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.