Question

Does Digital Ocean's VPS hosting supports VPN behind NAT

I want to purchase a Vps from digital ocean, i want to set up this Vps as an ipsec VPN client… Here is the usage scenario I need to connect to my partner’s network, the connection must go through a VPN tunnel ( IPSEC protocol ) to be specific. The configuration will be site to site VPN. I am looking to set up a site to site IPSEC vpn connection to my partner’s network. I will be using strong swan or open swan as my ipsec client.

Can i achieve this with Digital ocean’s vps ?without buying hardware vpn routers ?


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.

Hi @salimsaid

You   <===>   VPN server on Droplet <===> VPN client on Droplet   <===>   Partner

Yes, that’s possible to setup. Doing double VPN connections is always a little tricky to configure correctly.

And as for VPN routers, most of them are simply running OpenVPN/StrongSwan, so there’s no magic there - usually just a graphical interface with a wizard.