Droplet as cheaper VPN solution?

Posted November 15, 2014 18.2k views

hi Guys

I’ve been looking around for a cheap VPN service that would allow me to use a STATIC IP address for my connection.. (My ISP can’t offer me Static)

Basically i need this for whitelisting my IP on my shared hosting in order to access remoteSQL.. and also the make my local webserver public.

VPN Services w/ static IP addons are fine, but the thing is, I don’t need this all that time, perhpas once or twice a month only when im doing maintenance and upgrades.

So i’ve been looking for a cheaper solution w/ less bells and whistles compared to these featurefull VPN services all over .

Is DigitalOcean cloud service something that is also meant for hosting your own VPN?

Or would you suggest another solution?


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.

Submit an Answer
6 answers

You can absolutely run a VPN server on a droplet. A solution like OpenVPN is fairly easy to set up. You mentioned only needing it a couple days each month. If you wanted to retain your IP address you would have to create a droplet and leave it on your account, you could power it down when you are not using it but it would still incur charges.

You can read more about setting up OpenVPN here.

by chinmoy
OpenVPN Access Server is a "full featured SSL VPN software solution that integrates OpenVPN server capabilities, enterprise management capabilities, simplified OpenVPN Connect UI, and OpenVPN Client software packages that accommodate Windows, MAC, and Linux OS environments." Install OpenVPN Access Server on your Ubuntu 12.04 VPS.

Thank you for that. Before diving into the docs and experimenting I would like to clarify that YES I can setup the VPN in a way that my HOME COMPUTER can use the IP of the droplet server so that

1) My IP, when browsing the web, will always show the droplet IP to those servers (for whitelisting)
2) this will open up PORTS to my computer no matter what type of internet connection I am (hosting HTTP behind NAT w/o port forwarding) definitely looking into this then! thank you oh so much for the confirmation.. :)


Do you ever run up against bandwidth limits when using your droplet as a VPN?

Quick question, would it be possible to do split tunneling on a droplet vpn? I would like just a few apps to go thru the VPN and the rest of my computer on my normal connection. Is that possible?

  • While I have never done this myself it may be possible but not easy to implement. If you only want to route certain apps you may have better luck setting up a proxy server for the apps you want to route through your droplet instead.

but i need my apps to be on the STATIC IP though, for several reasons (white listing and http server thing)