a simple commandline tool to spin up a VPN server on a cloud VPS that self-destructs after reaching a max. uptime
easy-vpn allows you to quickly spin up a new VM on a cloud VPS provider (currently supports DigitalOcean and VULTR) that contains a running VPN server (pptpd) to use. After reaching a certain max. amount of uptime the VM will self-destruct (destroy) itself, to stop any ongoing costs on your cloud VPS account.
easy-vpn will first add the public-key specified in the configuration file to your cloud VPS providers admin panel. Then it will create and start a new VM named easy-vpn with this public-key installed. After the VM is up and ready to be used it will connect via SSH to it, install docker and run the docker image docker-pptpd. It will create a randomly generated username and password for pptpd to be used. Also within the VM it will run the shellscript self-destruct.sh, which upon reaching a timelimit will cause the VM to self-destruct / destroy itself, by making an API call to your cloud VPS provider.
- Requires Go 1.4+
go get github.com/JamesClonk/easy-vpn
vim easy-vpn.toml
easy-vpn help
=============
- This project is NOT, ABSOLUTELY NOT intended to provide privacy or security