DigitalOcean VPN Setup

Visit site

Automatically creates and configures a VPN server on a DigitalOcean droplet.

Automatically creates and configures a VPN server on a DigitalOcean droplet.

Was this helpful?

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!

i’ve been created a vps server with .The system tell me the passward and the username .but i don’t know how to login in the vpn with my windows 10 OS .please show me hwo to login in thx

Hello, it is not working for 10 days.

It looks like the script doesn’t actually run on the created droplet? I logged into it manually and executed the script your project says it’s using, and I used the output from that to login just fine.

Is it okay to upgrade to Ubuntu 16.04?

It’s super easy, and works perfectly! I created this server and it works find on my android phone. Two questions: Q1. How to connect from Windows 7? I tried , but in the end I cannot connect. Q2. How can I add more vpn users? and how to change their password? It seems the default vpn user “vpnuser” can be used only on one phone. If I want it serves more people, I have to create one vpn user for each of them, correct?


It can be used with any lt2p client supporting the PSK handshake, so virtually every system, just search for the VPN setup option of your system and write down the access informations. I am trying to connect to my Amsterdam droplet from a PC in Shanghai but I think that in some ways the Isps are throttling me down.

who tell how to use it

why I don’t connect the server. An error occured : the vpn service stopped.

Created this server got my config file for mac and ip,username,password, IPsec PSK but now I can I connect to this VPN from ubuntu ?

Will try!

Publish your Tool on Community

Have you created an Integration, API Wrapper, Service, or other Tool that helps developers build on DigitalOcean? Help users find it by listing it in Community Tools.

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel