Algo – Set up a personal IPSEC VPN in the cloud
github.com
github.com
user "someuser" "somepassword"
ikev2 "roaming" passive esp \
from 0.0.0.0/0 to 192.168.1.128/25 peer any \
ikesa auth hmac-sha2-512 enc aes-128 prf hmac-sha2-512 group modp2048 \
childsa enc aes-128-gcm group modp2048 \
eap "mschap-v2" \
config address 192.168.1.128/25 \
config name-server 192.168.1.1
Then setting up NAT is as simple as this one-liner in /etc/pf.conf: pass out on egress from 192.168.1.128/25 to any nat-to egress
Using IKEv1 instead of IKEv2 is just as easy (one-liner in /etc/ipsec.conf), except you also have to configure L2TP. That's also very simple.The Linux IPSec stack is just... incomparable.....
https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-th...
Note that Algo is designed by security professionals, is recommended by some you may have heard of FWIW (grugq, Kenn White, more), and is careful about what it claims to do:
* "Does not claim to provide anonymity or censorship avoidance"
* "Does not claim to protect you from the FSB, MSS, DGSE, or FSM"
* It is an OSX packaged app that launches a GUI wizard and deploys to digitalocean, auto configures VPN on OSX, and spits out a mobileconfig file.
* It is based on CoreOS (not busybox) but it set to auto update the OS using A/B partitions.
* VPN docker image running on droplet is also configured to auto update
Disclosure: I am the author of this repo.