Skip to content

Ansible roles which helps you setup L2TP/IPSec VPN on Digital Ocean droplet.

License

Notifications You must be signed in to change notification settings

averyanov/vpn-bootstrap

Repository files navigation

About

Build Status

Ansible roles which helps you setup IPSec/L2TP VPN on Digital Ocean droplet.

Features

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

Supported devices

  • Windows 7+
  • Ubuntu 14.04+
  • Mac OS 10.9+
  • iOS 8.0+
  • Android 4.0+

Requirements

  • 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.

Quick install

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.

Manual install

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

License

MIT

About

Ansible roles which helps you setup L2TP/IPSec VPN on Digital Ocean droplet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages