mirror of https://github.com/trailofbits/algo
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
8 years ago | |
---|---|---|
configs | 8 years ago | |
templates | 8 years ago | |
.gitignore | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 8 years ago | |
ansible.cfg | 8 years ago | |
cloud.yml | 8 years ago | |
common.yml | 8 years ago | |
config.cfg | 8 years ago | |
deploy.yml | 8 years ago | |
features.yml | 8 years ago | |
inventory | 8 years ago | |
inventory_users | 8 years ago | |
security.yml | 8 years ago | |
users.yml | 8 years ago | |
vpn.yml | 8 years ago |
README.md
Algo
Algo (short for "Al Gore", the Vice President of Networks everywhere for inventing the Internet) is a set of Ansible scripts that simplifies the setup of an IPSEC VPN. It contains the most secure defaults available, works with common cloud providers, and does not require client software on most devices.
Features
- Supports only IKEv2
- Supports only AES GCM, SHA2 HMAC, and P-256 DH
- Generates mobileconfig profiles to auto-configure Apple devices
- Provides helper scripts to add and remove users
- Based on current versions of Ubuntu and StrongSwan
Anti-features
- Does not support legacy cipher suites or protocols, like L2TP or IKEv1
- Does not install Tor, OpenVPN, or other insecure servers
- Does not require client software on most platforms
- Does not claim to provide anonymity
- Does not claim to protect you from the FSB, MSS, DGSE, or FSM
Requirements
- ansible >= 2.2.0
- python >= 2.6
- dopy
Usage
- Open the file
config.cfg
in your favorite text editor. Changeserver_name
and specify users in theusers
list. - Start the deploy and follow the instructions:
ansible-playbook deploy.yml
- When the process is done, you can find
.mobileconfig
files and certificates in theconfigs
directory. Send the.mobileconfig
profile to your users on iOS or macOS (note: Profile installation is supported over AirDrop) or send the X.509 certificates to those using other clients, like Windows or Android. - When the deploy proccess is done a new server will be placed in the local inventory file
inventory_users
. - If you want to add or delete users, update the
users
list inconfig.cfg
and run the playbookusers.yml
. This command will update users on all the servers in the fileinventory_users
. If you want to limit servers it updates, you can use-l
flag.
ansible-playbook users.yml -i inventory_users
ansible-playbook users.yml -i inventory_users -l example.com
FAQ
Has this been audited?
No. This project is under active development. We're happy to accept and fix issues as they are identified.
Why aren't you using Tor?
The goal of this project is not to provide anonymity, but to ensure confidentiality of network traffic while traveling. Tor introduces new risks that are unsuitable for algo's intended usesrs. Namely, with algo, users are in control over the gateway routing their traffic. With Tor, users are at the mercy of actively malicious exit nodes.