Code Monkey home page Code Monkey logo

dosxvpn's Introduction

One click personal VPN server on DigitalOcean with automated OSX setup. The deployed VPN server includes automated updates of both the OS and VPN software, so you don't need to worry about managing a server.

Features

  • Personal IPSec VPN (strongSwan) deployed on DigitalOcean.
  • Graphical deployment with automated OSX VPN setup.
  • No separate software required - uses native OSX built in VPN.
  • Set it and forget it. Automated OS and VPN software updates.
  • Downloadable config file that can be used to setup VPN on other computers

Installation

Binary

The easiest way is to download a pre-built binary from the GitHub Releases page. This is a packaged OSX app.

Source

  1. Fetch the project with go get:
go get github.com/dan-v/dosxvpn
cd $GOPATH/src/github.com/dan-v/dosxvpn
  1. Run make to build (will need to install platypus cli). CLI and OSX app can then be found under build/osx/x86-64.
make

CLI Usage

go install github.com/dan-v/dosxvpn/cmd/...
DIGITALOCEAN_ACCESS_TOKEN=... dosxvpn -cli

Prints output like:

2017/04/05 15:58:57 Created DigitalOcean droplet 44882920
2017/04/05 15:58:57 Waiting for SSH to start...
2017/04/05 15:59:32 Getting VPN details...
2017/04/05 15:59:51 Adding VPN to OSX...
2017/04/05 15:59:55 ##############################
2017/04/05 15:59:55 VPN IP: 10.10.10.10
2017/04/05 15:59:55 ##############################

How it works

A web server is started on application launch and directs you to your web browser. It uses client OAuth authentication to request access to your DigitalOcean account (this permission is revoked after deployment). Once authenticated, a 512MB droplet is deployed running CoreOS that is configured to auto update on new releases. The OS is configured to launch a container (dosxvpn/strongswan) on boot running strongSwan.

FAQ

  1. Should I use dosxvpn? That's up to you. Use at your own risk.
  2. Are you going to support other VPS providers? Possibly.
  3. Will this make me completely anonymous? No, absolutely not. All of your traffic is going through a VPS which could be traced back to your account. You can also be tracked still with browser fingerprinting, etc. Your IP address may still leak due to WebRTC, Flash, etc.
  4. How much does this cost? This spins up a 512MB DigitalOcean droplet that costs $5 a month.
  5. How do I uninstall this thing? Go to System Preferences->Network, click on dosxvpn-* and click the '-' button in the bottom left to delete the VPN. Don't forget to also remove the droplet that is deployed in your DigitalOcean account.

Powered by

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.