GithubHelp home page GithubHelp logo

5l1v3r1 / dosxvpn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dan-v/dosxvpn

0.0 1.0 0.0 5.78 MB

Easily deploy your own personal VPN server with DNS adblocking running on DigitalOcean

License: The Unlicense

Makefile 0.37% Go 76.29% Shell 0.43% JavaScript 6.86% CSS 16.05%

dosxvpn's Introduction

dosxvpn

Easily deploy your own personal VPN server with DNS adblocking running on DigitalOcean.


Key Features

  • Personal IPsec-based VPN (strongSwan).
  • Ad blocking DNS setup by default (Pi-hole).
  • Generates profiles for sharing VPN with OSX/iPhone and Android.
  • No additional software required for OSX/iPhone - uses native VPN client.
  • Simple Web or CLI installation methods.
  • Automated OS and VPN software updates.
  • Dual stack IPv4/IPv6 enabled.

Web Installer (OSX)

  1. Download the latest pre-built app from the GitHub Releases page. Note: only OSX 10.12+ is supported.
  2. Open the app and run through the web based installation wizard to setup a new VPN.

CLI Usage (OSX)

  1. Download the latest pre-built cli from the GitHub Releases page. Note: only OSX 10.12+ is supported.
  2. Make the binary executable
chmod +x dosxvpn
  1. Create an API token (https://cloud.digitalocean.com/settings/api/tokens) and export it
export DIGITALOCEAN_ACCESS_TOKEN=<token>
  1. See help for all options
./dosxvpn -h

CLI Examples

  • Deploy a new VPN droplet and configure OSX VPN
    ./dosxvpn deploy --region sfo2 --auto-configure
  • List dosxvpn VPN droplets
    ./dosxvpn ls
  • Remove dosxvpn VPN droplet and OSX VPN profile
    ./dosxvpn rm --name <name> --remove-profile

FAQ

  1. Should I use dosxvpn? That's up to you. Use at your own risk.
  2. Why is this better than using public VPN provider XYZ? While most VPN providers will provide a secure connection to their endpoints, you may not be interested in putting blind faith in their claims that they will not log or track your activity online.
  3. How is this different than algo?
    1. Installation - is simple and has no additional system dependencies.
    2. Updates: dosxvpn handles updates of both the OS and VPN. This means any critical security updates or bug fixes will automatically be applied for you.
  4. How much does this cost? This launches a 512MB DigitalOcean droplet that costs $5/month currently.
  5. What is the bandwidth limit? The 512MB DigitalOcean droplet has a 1TB bandwidth limit. This does not appear to be strictly enforced.
  6. Where does dosxvpn store VPN configuration files? You can find all deployed VPN configuration files in your ~/.dosxvpn directory.
  7. How do I SSH into the deployed droplet? Assuming you had public SSH keys uploaded to your DigitalOcean account when the VPN was deployed, all of those keys should be authorized for access. You can SSH using any of those keys: ssh -i <ssh-private-key> core@<vpn-ip>. If you had no SSH keys uploaded to your DigitalOcean account, then a temporary key was autogenerated for you and you will need to redeploy if you want SSH access.
  8. What is the password to login to Pi-hole? The password is dosxvpn.
  9. Are you going to support other VPS providers? Not right now.
  10. 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.
  11. How do I uninstall this thing on OSX? You can uninstall through the Web interface, which will also remove the running droplet in your DigitalOcean account. Alternatively 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

  • strongSwan - IPsec-based VPN software
  • CoreOS - used for running containers and automatic OS updates capabilities
  • Pi-hole - used for DNS adblocking
  • Platypus - used to build the native OSX app
  • godo - DigitalOcean Go API client

Acknowledgements

Building Source

  1. Install dependency platypus cli
brew install platypus
  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
make

dosxvpn's People

Contributors

cadox8 avatar dan-v avatar gjnoonan avatar

Watchers

 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.