Can't connect to digital ocean private server.

I get an error message after setting up the VPN through windows 10 Settings -> VPN. Configured it with L2TP key. Correct user and pw. Followed the 14.04 tutorial to set up a private network. Error message is "The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer. " But I’m totally able to ping the private IP from the console. What gives?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.


As @hansen stated, you’re not buying anything other than an automated installation service from the site you’re referencing. They essentially deploy a Droplet with DigitalOcean, run an automated installer and then hand things over to you – that’s the general gist of how it works.

That said, from their wording, I can see how one would be confused. Also, despite what they state on their site (i.e. anonymous IP) – the IP isn’t anonymous. It can be traced back to DigitalOcean, as could any IP to any provider as ARIN/RIPE make this information public.

That said, me personally, I wouldn’t exactly trust any site that claims that a VPN will provide anonymity or censorship avoidance as it’s simply not true – whether it’s $3 or $300.

A VPN will encrypt traffic, yes, though it isn’t meant to provide 100% anonymity or prevent censorship. Where there’s a will, there’s a way. If someone higher up, somewhere, wants to monitor you, they can and will by any means necessary. Does that mean they will? No, not at all. I’m just stating that a VPN isn’t going to protect you 100% from everything.

@sevpants Okay, the DigitalOcean “Private Networking” is sadly a bad labeling. It is used for communication within the same data center if you have other servers there. It has nothing to do with VPN.

So you want to setup a VPN server, so you can tunnel the traffic from your computer thru your DigitalOcean server? You need to setup a VPN server on your droplet - here’s a tutorial for StrongSWAN: