Here is an interesting little problem I am having. Kudos to anyone who can clue me in to an answer:
Background: All my droplets are Ubuntu 14.04 All are based in San Francisco All up to date and running fine for at least a month
The problem: Recently I set up OpenVPN on a droplet, and connect to that vpn from home. Works great for the last week. No problems with the VPN or droplet or home network. I keep the VPN connected at all times for various reasons.
Yesterday I needed to ssh in to another droplet (webserver), but encountered this error:
ssh_exchange_identification: read: Connection reset by peer
If I disconnect from the VPN, I can ssh in fine to that droplet.
I tried a few other droplets I manage, and some of them will ssh fine while on the VPN, and some will not. The common factor for the non-connecting ones seems to be the subnet of the droplet: 255.255.240.0 which is the same subnet of the droplet that I have OpenVPN running on.
So, in summary: Droplets that have the same subnet of my VPN server will not allow me to connect while I am connected to the VPN.
Droplets on a different subnet will connect fine.
Are there some rules I can add to my VPN config that will allow me to ssh to droplets within the same subnet?
Thanks in advance!!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!