Ansible roles which helps you setup IPSec/L2TP VPN on Digital Ocean droplet.
Work in progress. Stay tuned!
- IPSec (OpenSwan)
- PSK authentication
- Certificate-based authentication
- IPSec (StrongSwan)
- PSK authentication
- Certificate-based authentication
- PAM authentication (/etc/passwd)
- L2TP via xl2tpd
- sysctl
- IPTables
- Windows 7+
- Ubuntu 14.04+
- Mac OS 10.9+
- iOS 8.0+
- Android 4.0+
- Ubuntu 12.04 x86_64 LTS
- Ubuntu 12.10 x86_64
- Ubuntu 13.04 x86_64
- Ubuntu 13.10 x86_64
- Ubuntu 14.04 x86_64 LTS
It works in any region where you want to use.
Log in to your server as root via SSH and execute this command:
curl -sL https://raw.githubusercontent.com/gongled/vpn-bootstrap/master/bin/vpn-bootstrap | bash -s -- username
Done. It works.
Log in to your server as root via SSH and execute this command:
curl -sL https://raw.githubusercontent.com/gongled/vpn-bootstrap/master/bin/vpn-preconf | bash -s
Put custom settings in the JSON file:
vim config.json
Run:
ansible-playbook install.yml -c local -e @config.json
MIT