Commit Graph

250 Commits (master)

Author SHA1 Message Date
Jack Ivanov d635c76b50
Change default SSH port and introduce cloud-init support (#1636)
* Change default SSH port

* Iptables to ansible_ssh_port

* Add Scaleway

* permissions and groups fixes

* update firewall docs

* SSH fixes

* add missing cloudinit to cloud-azure

* remove ansible_ssh_user from the tests

* congrats message fix
4 years ago
TC1977 45aa0065cd Documentation updates (#1607)
* update variable name to store_pki

* Document BetweenClients_DROP

* Update README.md

* Update faq.md

* VPN On Demand is for Apple IPSEC clients only

* How to update users from cloud-init

* How to monitor user activity

* Fix typo

* Update FAQ about WireGuard, fix typos

* Correct locations of install log and user configs

* Update-users from cloud-init

* Update features list

* More "IPsec" and "WireGuard" changes

* fixed broken link/absent link in FAQ

* Python version README fix for #1622

* road warrior instructions

* Update index.md

* Reorganize config.cfg

As per @davidemyers suggestions

* Further config changes

As per feedback, also better explanation of keys_clean_all

* Add road warrior instructions to FAQ

* Remove specific ports from RW instructions
5 years ago
David Myers d18de4b679 Add deploy-from-macos.md (#1649) 5 years ago
David Myers d72f3b5ba3 Update Windows documentation (#1640)
* Update Windows documentation

* Revise instructions
5 years ago
David Myers 9f27c25adc Update the Ubuntu WireGuard documentation (#1645) 5 years ago
David Myers b65e6b1351 Support Ubuntu 19.10 (#1630)
Add Travis tests
5 years ago
Jon Stewart 792e991442 Troubleshooting docs addition for CA certificate failure with MacPorts (#1595)
* Added troubleshooting entry related to lack of a CA certificate in MacPorts.

* Try to fix the link

* Try to fix the link

* Try to fix the link

* line-breaking of error message

* update error message and text
5 years ago
Jack Ivanov 8bdd99c05d Refactor to support Ansible 2.8 (#1549)
* bump ansible to 2.8.3

* DigitalOcean: move to the latest modules

* Add Hetzner Cloud

* Scaleway and Lightsail fixes

* lint missing roles

* Update roles/cloud-hetzner/tasks/main.yml

Add api_token

Co-Authored-By: phaer <phaer@phaer.org>

* Update roles/cloud-hetzner/tasks/main.yml

Add api_token

Co-Authored-By: phaer <phaer@phaer.org>

* Try to run apt until succeeded

* Scaleway modules upgrade

* GCP: Refactoring, remove deprecated modules

* Doc updates (#1552)

* Update README.md

Adding links and mentions of Exoscale aka CloudStack and Hetzner Cloud.

* Update index.md

Add the Hetzner Cloud to the docs index

* Remove link to Win 10 IPsec instructions

* Delete client-windows.md

Unnecessary since the deprecation of IPsec for Win10.

* Update deploy-from-ansible.md

Added sections and required variables for CloudStack and Hetzner Cloud.

* Update deploy-from-ansible.md

Added sections for CloudStack and Hetzner, added req variables and examples, mentioned environment variables, and added links to the provider role section.

* Update deploy-from-ansible.md

Cosmetic changes to links, fix typo.

* Update GCE variables

* Update deploy-from-script-or-cloud-init-to-localhost.md

Fix a finer point, and make variables list more readable.

* update azure requirements

* Python3 draft

* set LANG=c to the p12 password generation task

* Update README

* Install cloud requirements to the existing venv

* FreeBSD fix

* env->.env fixes

* lightsail_region_facts fix

* yaml syntax fix

* Update README for Python 3 (#1564)

* Update README for Python 3

* Remove tabs and tweak instructions

* Remove cosmetic command indentation

* Update README.md

* Update README for Python 3 (#1565)

* DO fix for "found unpermitted parameters: id"

* Verify Python version

* Remove ubuntu 16.04 from readme

* Revert back DigitalOcean module

* Update deploy-from-script-or-cloud-init-to-localhost.md

* env to .env
5 years ago
Nil Admirari 0c3aada66f Support for scripted Docker deployments (#1582) 5 years ago
Nian Wang 71e49eb2c8 Add spacing, list format for readability. (#1560) 5 years ago
John Wesley fe19859b00 Docker makefile (#1553)
* makefile for docker deploys

* update docs for makefile
5 years ago
Julien Bachmann 3dc08c94cf New cloud provider CloudStack (#1420)
* clean commits from branch cloud-cloudstack w/ proper committer email/name

* fixed ansible-lint errors

* corrected typo in prompted message

* standalone cloudstack zones module

* added missing environment variables

* remove `_cloudstack_zones` default variable

* Move to Ubuntu 19.04

* Update cloud-cloudstack.md

* Update cloud-cloudstack.md

Markdown doesn't render `<your account>`

* Update prompts.yml

* Update main.yml
5 years ago
Jack Ivanov 38d8a6d0e2 Deprecate IKEv2 for Windows (#1521)
* Windows to WireGuard

* Add note about WireGuard

* change wireguard faq

* Clarify Windows instructions

* Correct Wireguard description

* Update README.md
5 years ago
David Myers 902fdab3a0 Update local install instructions (#1527) 5 years ago
TC1977 37e4f46673 Update deploy-from-ansible.md (#1518)
Further clarifies that the usage of `-t` is deprecated (other than `--skip-tags`) and using variables is preferred.
5 years ago
Jack Ivanov 090a60d48d PKI to tmpfs (#1496)
* PKI to tmpfs

* Fixes
- diskutil to full path
- unmount and eject fixes

* Umount fix

* run diskutil info only on Darwin kernels

* fix shell tasks
5 years ago
David Myers f152d3a746 Troubleshooting IPsec NAT issues (#1498) 5 years ago
TC1977 c4cc59998a Update deploy-from-ansible.md (#1487)
Updated role names and explanations to reflect the removal of Dnsmasq and replacement with dnscrypt-proxy for adblocking.
5 years ago
Jack Ivanov 8602a697cc
dnscrypt-proxy as a dns adblocker (#1480)
* Move DNS adblocking to dnscrypt-proxy

* Update docs

* remove unneeded variable dnscrypt_proxy_version

* Update to the latest dnscrypt-proxy version

* install.sh fix

* spelling
5 years ago
Bill Nottingham 4064bc281a Update the Fedora related docs. (#1470)
* Update the Fedora related docs.

- update for new generated config file locations
- remove reference to no-longer-needed copr
- update package names for further py2 changes in Fedora

* switch back to the default ciphers
5 years ago
TC1977 ac6b543134 Update deploy-to-unsupported-cloud.md (#1467)
Future-proofs the "unsupported cloud providers" list.
5 years ago
TC1977 6b2defe470 Update deploy-from-ansible.md (#1464)
Merged redundant and contradictory "Local install" instructions.
5 years ago
Jack Ivanov a2fdc509e1
Support for Ubuntu 19.04 (#1405)
* Ubuntu 19.04

* Azure to 19.04
5 years ago
TC1977 71c9c16ffe Update EC2 instructions (#1457)
* Update cloud-amazon-ec2.md

* Add files via upload
5 years ago
TC1977 a15d9657ce Update troubleshooting.md (#1440)
* Update troubleshooting.md

* Fix silly typo

* Add Android T-mobile fix

* Fix another silly typo

* Update troubleshooting.md
5 years ago
Jack Ivanov 5904546a48
Randomly generated IP address for the local dns resolver (#1429)
* generate service IPs dynamically

* update cloud-init tests

* exclude ipsec and wireguard ranges from the random service ip

* Update docs

* @davidemyers: update wireguard docs for linux

* Move to netaddr filter

* AllowedIPs fix

* WireGuard IPs fix
5 years ago
TC1977 38ebe4893d Update docs (#1430)
* Point additional docs to index.md

* Update index.md

Moves existing links from readme.md over to update this separate (previously out-of-date, redundant) page.

* Update documented Ansible roles

* Fix broken links in index.md

* Complete index.md

As a general rule all docs should be linked to from the index file. No?

* Update SSH access instructions

* Clarify SSH access instructions

* Delete setup-roles.md

* Update deploy-from-ansible.md

Change header, insert text from setup-roles.md

* Remove link to setup-roles from index.md

* Fix typos

* Update deploy-from-ansible.md

Document other `--skip-tags` options, as well as examples for Vultr and Scaleway variables.

* Update deploy-from-ansible.md

Added region examples for AWS and Lightsail. Happy to add other examples if people have experience with other providers.
5 years ago
Jack Ivanov 3ce92f9fee
Update deploy-from-ansible.md
Closes #1434
5 years ago
TC1977 bcf2008b8d Update deploy-from-script-or-cloud-init-to-localhost.md (#1433)
I was going to add this onto the existing PR for docs update, but it turned out to be a little more involved and require some testing of actual deployment.
5 years ago
Rémy Léone 826a2c5036 Add documentation about Scaleway credentials (#1419) 5 years ago
Jack Ivanov 6b33d09d9f
Scaleway modules (#1410)
* Scaleway modules

* Update docs
5 years ago
TC1977 b526f73881 Update troubleshooting.md - regions not available (#1414)
Changes the "region not available" question to reflect Algo behavior since #976. Also addresses #1413.

Adds a couple of quote marks to the Ubuntu error question, which disappeared for some reason.
5 years ago
David Myers feb0091448 Update Linux WireGuard client instructions (#1407) 5 years ago
TC1977 b7a448350a Update cloud-vultr.md (#1406)
* Update cloud-vultr.md

More fleshed-out instructions for generating an API key and saving the file. Also notes the default ansible behavior of looking for the file in `~/.vultr.ini`.

* Update README.md
5 years ago
Jack Ivanov a60d49f5fc
Update deploy-from-script-or-cloud-init-to-localhost.md 5 years ago
Jack Ivanov 4ea1dcdf5a
Update deploy-from-script-or-cloud-init-to-localhost.md 5 years ago
David Myers 4cb8c6dc22 Consolidate firewall documentation (#1386) 5 years ago
TC1977 8af0efa623 Update DNS filtering advice in FAQ (#1389)
* Update DNS filtering advice in FAQ

Updates how to temporarily disable adblocking on IPsec and Wireguard clients separately, and also updates the IPSsec command to avoid `ipsec restart` which [isn't appreciated by systemd](https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1287339).

* Update faq.md

Fix typo
5 years ago
Jack Ivanov d3d22fec47
Script to support cloud-init and local easy deploy (#1366)
* add the install script to support cloud-init and local one-shot deployments

* update travis-ci tests

* update docs

* enable no_log again

* update docs
5 years ago
Ryan Kasper 3428c5197e Fix typo in doctl command (#1350) 5 years ago
Jack Ivanov ec56203b87
Support for custom domain names in the endpoint (#1337) 5 years ago
Jack Ivanov bfe168d31c
Closes #1059 5 years ago
David Myers df3d547fb3 Document using WireGuard app on macOS (#1327)
* Document using WireGuard app on macOS

* Update README.md

* Make WireGuard the default for Apple devices

* clarify user list

* fix tests

* connect on demand
5 years ago
David Myers 1be0908c51 Add note about new WireGuard for iOS default MTU (#1293) 5 years ago
Jack Ivanov 40b42c4f33
Get started with Azure more easily (#1323) 5 years ago
Jack Ivanov 9f66e47607
Closes #1321 5 years ago
Jack Ivanov a266b4d633 Allow windows users install VPN for all users in the system (#1310) 5 years ago
Jack Ivanov b89d406ee0
Update deploy-from-ansible.md (#1307) 5 years ago
Selim Şumlu 7a338b511d Update deploy-from-windows.md (#1296)
Updating the tutorial according to latest Windows 10 and Ubuntu changes
5 years ago
Jack Ivanov 72763ddec4
Update deploy-from-ansible.md 5 years ago
David Myers 5981bb9cad Replace 'max_mss' with 'reduce_mtu' (#1253) 6 years ago
David Myers f9702fb3df Document DigitalOcean firewall (#1257) 6 years ago
Izzy Gomez 0a098b31f9 Fix typo in deploy-from-ansible.md. (#1261) 6 years ago
David Myers e478d31e50 Update local install instructions (#1148)
* Update local install instructions

* Update deploy-to-ubuntu.md
6 years ago
William Woodruff 319b630cf4 docs/gce: Fix typos, clarify instructions (#1239) 6 years ago
jxn 66bbf0e83a fix typo in powershell execution in windows client set up doc (#1224) 6 years ago
Jack Sullivan adb4dfa839 Add "unable to write 'random state'" resolution (#1219)
I ran into the same issue as #1058, and the solution worked.

This PR generalizes the solution and adds it to the troubleshooting documentation, making it easier to resolve for future users.
6 years ago
Jack Ivanov 1c16554b41
Rename Docker.md to deploy-from-docker.md 6 years ago
jxn affadd401d fix typos in docker documentation and shell-script text (#1202) 6 years ago
TC1977 75685e202b Troubleshooting.md updates (#1195)
* Troubleshooting.md updates

Adds solutions to #1067 to the troubleshooting faq. Also moves a couple of answers to correspond to the headers.

* Change to Algo, strongly rec Ubuntu 18.04
6 years ago
Jack Ivanov a53dec6349
Closes #1189 6 years ago
Bruno Tavares 54a91447bf Add documentation on how to setup GCE accounts (#1164)
* Add documentation on how to setup GCE accounts

This commit adds the steps needed to create a credential with the needed access on Google Cloud Platform to be able to successfully create a new algo VPN.

Related to:
- https://github.com/trailofbits/algo/issues/682
- https://github.com/trailofbits/algo/issues/658

* Adds links on main README to GCP

* Adds link to Ansible documentation

* Update cloud-gce.md
6 years ago
David Myers cd3fbe5e47 Add WireGuard port to FAQ (#1141) 6 years ago
Jack Ivanov d7dcaeb575
Update troubleshooting.md
Fixes #1118
6 years ago
Jack Ivanov 1442586682 WireGuard: Generate QR codes (#1129)
* WireGuard: Generate QR codes

* Update client-android.md
6 years ago
Mike Myers 8f090a36f8 Fix minor typos in Amazon EC2 setup documentation. (#1116) 6 years ago
TC1977 df4b3f6202 Update Win10 client docs for non-admin accounts (#1093)
* Update client-windows.md

Allows non-admin accounts to use the VPN as per #983 and #994. Fix was also documented here https://www.bountysource.com/issues/49259904-windows-10-powershell-and-priv-nonpriv-account-issues

* Update client-windows.md
6 years ago
ctrlaltreboot 57fb2ec347 Update client-windows.md (#1099)
Correct command would be ```powershell -ExecutionPolicy ByPass -File C:\path\to\windows_USER.ps1 Add```
6 years ago
in-in 244a698531 improve readability (#1085) 6 years ago
Jack Ivanov cbe57991db Update docs (#1089) 6 years ago
Mike Myers d9634eca8a Update screenshot of AWS EC2 minimum permissions with ec2:DescribeRegions (#1095) 6 years ago
Jack Ivanov 0188b2ff64
Update deploy-to-ubuntu.md 6 years ago
Jack Ivanov 687bab9e54
Update troubleshooting.md
Fixes #744
6 years ago
David Myers ee3cb979f7 Document how to use WireGuard on Ubuntu clients (#1071) 6 years ago
TC1977 3144458ac7 Update cloud-amazon-ec2.md (#1081) 6 years ago
TC1977 6d3bb1cf2b Update minimum required IAM changes for deployment (#1080)
Ansible2.5 allows Algo to directly ask AWS for the region list, rather than have it hardcoded and updated manually. Updated the documented minimum required permissions to include "DescribeRegions".
6 years ago
Jack Ivanov e8947f318b Large refactor to support Ansible 2.5 (#976)
* Refactoring, booleans declaration and update users fix

* Make server_name more FQDN compatible

* Rename variables

* Define the default value for store_cakey

* Skip a prompt about the SSH user if deploying to localhost

* Disable reboot for non-cloud deployments

* Enable EC2 volume encryption by default

* Add default server value (localhost) for the local installation

Delete empty files

* Add default region to aws_region_facts

* Update docs

* EC2 credentials fix

* Warnings fix

* Update deploy-from-ansible.md

* Fix a typo

* Remove lightsail from the docs

* Disable EC2 encryption by default

* rename droplet to server

* Disable dependencies

* Disable tls_cipher_suite

* Convert wifi-exclude to a string. Update-users fix

* SSH access congrats fix

* 16.04 > 18.04

* Dont ask for the credentials if specified in the environment vars

* GCE server name fix
6 years ago
Josh Dimarsky a57a0adf5e Fixed broken link; clarified example docker command (#1064) 6 years ago
Quentin Moss e0c317a958 Update documentation link (#1043) 6 years ago
Quentin Moss b88f697b28 Update troubleshooting docs to include iOS reconnection loop (#1042)
* Update troubleshooting docs to include iOS reconnection loop

* nits
6 years ago
Mike Myers c65961a1f3 Amazon ec2 documentation (#1035)
* Add link to documentation on Amazon EC2 setup

* Add images to document the AWS EC2 account setup

* Create AWS EC2 setup instructions

* remove line breaks

* remove line breaks

* Add images documenting AWS EC2 policy creation

* Update image showing advised minimum AWS policy

* Add instructions for minimum AWS permission policy

* Delete aws-ec2-attach-policy.png

* Updated image to reflect new AWS policy guidance

* Delete aws-ec2-new-user-confirm.png

* Updated image to reflect new AWS policy guidance
6 years ago
TC1977 facd55c635 Update deploy-to-ubuntu.md (#1019)
* Update deploy-to-ubuntu.md

rewrite of #813

* Update deploy-to-ubuntu.md
6 years ago
Jack Ivanov 07a6bbe652
Move max_mss to config.cfg (#1015)
* Move max_mss to config.cfg

* Add docs about max_mss

* Update troubleshooting.md
6 years ago
Jack Ivanov 4ca8c03e3c New default cipher suite (#991)
* New ciphers enabled

* Update CHANGELOG.md

* Switch ecparam to secp384r1

* Change CertificateType to ECDSA384
6 years ago
Mikael Forsgren 2931227db4 New Google Cloud Region (#1013)
Added the new Google Cloud Region Finland (europe-north1) with 3 zones
6 years ago
TC1977 6faac307af Update troubleshooting.md (#992)
Many times people are reaching VPC limits not because they're running other VPCs on AWS, but because they've already deployed several times (AWS allows five VPCs per region). This lets people know they can simply delete their old VPCs instead of contacting AWS support.
6 years ago
Jack Ivanov daca84b640 Update references to 18.04 6 years ago
Paul Kehrer b928e4ff06 fix faq entry about cryptography build failure (#967) 6 years ago
Jack Ivanov 3488e660ad Add WireGuard support for Android (#910)
* WireGuard Implementation

* Update client-android.md

* Update README.md

* WireGuard unattended upgrades

* Update README.md

* reload-module-on-update and syntax fix

* SaveConfig to true

* Azure firewall. Fixes #962

* Update README.md

* Update client-android.md
6 years ago
Jack Ivanov c82bd8c5ff DNS-over-HTTPS (#875) 6 years ago
Cat Jones e78df40468 adds DigitalOcean documentation (#869) 6 years ago
iliyan jeliazkov a8b4a47a88 Updating the language of the instructions (#880) 6 years ago
Anton T Johansson 7c087aeed9 Fixed path in Network Manager section (#860)
"configs" directory missing in paths.
6 years ago
Micah R Ledbetter a2e051ef00 Add a workaround for disabling DNS filtering to the FAQ (#852)
* Add a workaround for disabling DNS filtering to the FAQ

* Update faq.md
6 years ago
Micah R Ledbetter e944ee993a Embed certs into Windows deployment scripts (#840)
- Obviate need to copy separate script and certificate files
- Allow execution from any directory, not just the script's parent
  directory (no assumption of any particular working directory)
- Fix docs that neglected to mention copying cacert.pem
- Fix docs that incorrectly referred to the user cert store

As part of this work, rewrite the windows_client.ps1.j2 deployment
script template

- Add comment-based help
- Require admin privileges
- Use a Param() block
- Use parameter sets with -Add and -Remove switches
- Add the -GetInstalledCerts switch, to list any Algo certificates
  installed the machine's cert store
- Add the -SaveCerts switch, to save the embedded certificates to files
- Put Jinja2 variables inside Powershell variables,
- Use native Powershell cmdlets rather than shell out to certutil.exe
- Add a playbook to regenerate the windows_USER.ps1 scripts
6 years ago
Micah R Ledbetter a8784bc0f4 Add FAQ entry regarding IPSEC backdoor (#460) (#853) 6 years ago
Arun John Kuruvilla aea9c9a5e2 Removed ssh_public_key variable for AWS. Issue #773 (#817) 6 years ago
Rob 1edb95df9c Update client-android.md (#842)
* Update client-android.md

Changed Installation via profiles sections - Opening the helper html file in Chrome (v65.0.3325.109 on Android 6.0.1) does not work correctly.

* Update client-android.md

* Update client-android.md
6 years ago
Damian Gerow 62fc22ab59 Creates a Docker container to run algo (#331)
* Creates a Docker container to run algo

* Simplistic testing of the Docker image

This simply uses the same LXC system that was just tested.
It's functional, but minimal.

* More thorough tests against Docker

This doubles the number of LXC containers in use,
but does provide a more thorough test of the Docker
image.
6 years ago
Zac Connelly 3bb6c32abb update troubleshooting doc (#827)
* update troubleshooting doc

* remove breakline

* bump issue to the bottom
6 years ago