Skip to content

Simple client for creating and connecting DigitalOcean VPN droplets

Notifications You must be signed in to change notification settings

BekirUzun/SelfVPN

Repository files navigation

SelfVPN

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.

Advantages of Using SelfVPN

  • 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.

Screenshot

SelfVPN Screenshot

How To Use?

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.

Building from Source

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

Running in Debug Mode

To run SelfVPN with hot reload:

git clone https://github.com/BekirUzun/SelfVPN
cd SelfVPN
npm install
npm start

Supported Platforms

  • Windows

Support for other platforms may be added by implementing connectivity features.

Troubleshooting

If you are having trouble connecting your server, you may check setup-ipsec-vpn repo's troubleshooting section.

TODO

  • 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

Credits

About

Simple client for creating and connecting DigitalOcean VPN droplets

Resources

Stars

Watchers

Forks

Packages

No packages published