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.
- 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
The easiest way is to download a pre-built binary from the GitHub Releases page. This is a packaged OSX app.
- Fetch the project with
go get
:
go get github.com/dan-v/dosxvpn
cd $GOPATH/src/github.com/dan-v/dosxvpn
- Run make to build (will need to install platypus cli). CLI and OSX app can then be found under build/osx/x86-64.
make
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 ##############################
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.
- Should I use dosxvpn? That's up to you. Use at your own risk.
- Are you going to support other VPS providers? Possibly.
- 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.
- How much does this cost? This spins up a 512MB DigitalOcean droplet that costs $5 a month.
- 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.
- Golang
- jbowens/dochaincore - Deployment code was borrowed from this project
- vimagick/strongswan - Using forked version of this docker image for VPN
- platypus - Used to generate OSX app