A simple VPN client for creating and connecting DigitalOcean droplets
SelfVPN automatizes VPN server installation on DigitalOcean droplets. You can create and destroy droplets with this client. It will also run this script to install VPN server on your droplet.
- You don't need to pay fixed monthly price for VPN. You will be paying hourly usage of droplet. For example if you destroy your droplet after 4 hours of daily usage, it will cost you 5$ * 4 / 24 = 0.84$ monthly (other taxes may apply).
- SelfVPN is directly connected to DigitalOcean v2 API, there is no server owned by SelfVPN between you and your actual VPN server.
- You are total control of your VPN server. You may create VPN servers on 8 different locations and destroy them as you wish.
- Build SelfVPN from source or download a release.
- Get your API Key from here DigitalOcean API Token
- Open SelfVPN settings by clicking gearwheel button.
- Set your API key and you are ready to go!
Note: A one-time registry change is required on Windows before connecting. Check this link.
If you don't know how to get you API token, you may check this link. If you don't have DigitalOcean account yet, you may sign-up with this link (my referral link) and get 50$ credit free.
To build SelfVPN from source:
git clone https://github.com/BekirUzun/SelfVPN
cd SelfVPN
npm install
npm run electron:windows
All other included commands are available here
To run SelfVPN with hot reload:
git clone https://github.com/BekirUzun/SelfVPN
cd SelfVPN
npm install
npm start
- Windows
Support for other platforms may be added by implementing connectivity features.
If you are having trouble connecting your server, you may check setup-ipsec-vpn repo's troubleshooting section.
- Add support for Linux
- Add support for Mac
- Confirmation UI with Nebular components
- Alert UI with Nebular components
- Auto destroy server if there is no connection (or data transfer) for n minutes/hours
- Implement simple server that returns
{ "success": true }
in Golang - Separate network monitoring from connect button
- Check and improve packages.json, there may be misconfigurations
- Angular-Electron: fast bootstrapping Angular and Electron - https://github.com/maximegris/angular-electron
- Nebular: UI library for Angular - https://github.com/akveo/nebular
- DigitalOceanVPNSetup: server and inspiration - https://github.com/carlfriess/DigitalOceanVPNSetup