Giter Club home page Giter Club logo

easy-vpn's Introduction

easy-vpn

a simple commandline tool to spin up a VPN server on a cloud VPS that self-destructs after reaching a max. uptime

Screenshot


What does it do?

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.

How does it do that?

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.

Installation from source

go get github.com/JamesClonk/easy-vpn

Configuration

vim easy-vpn.toml

Usage

easy-vpn help

=============

Notes

  • This project is NOT, ABSOLUTELY NOT intended to provide privacy or security

easy-vpn's People

Contributors

jamesclonk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.