Commit Graph

250 Commits

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
2020-01-07 14:28:19 +01:00
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
2019-12-10 19:23:18 +01:00
David Myers
d18de4b679 Add deploy-from-macos.md (#1649) 2019-12-08 13:12:24 +01:00
David Myers
d72f3b5ba3 Update Windows documentation (#1640)
* Update Windows documentation

* Revise instructions
2019-11-27 07:48:36 +01:00
David Myers
9f27c25adc Update the Ubuntu WireGuard documentation (#1645) 2019-11-27 07:45:27 +01:00
David Myers
b65e6b1351 Support Ubuntu 19.10 (#1630)
Add Travis tests
2019-11-04 11:46:13 +01:00
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
2019-10-05 19:31:30 +02:00
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
2019-09-28 08:10:20 +08:00
Nil Admirari
0c3aada66f Support for scripted Docker deployments (#1582) 2019-09-12 12:51:40 +02:00
Nian Wang
71e49eb2c8 Add spacing, list format for readability. (#1560) 2019-09-06 10:56:24 +02:00
John Wesley
fe19859b00 Docker makefile (#1553)
* makefile for docker deploys

* update docs for makefile
2019-08-19 15:07:24 +02:00
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
2019-08-15 15:23:10 +02:00
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
2019-07-31 11:28:33 -04:00
David Myers
902fdab3a0 Update local install instructions (#1527) 2019-07-22 11:28:23 +02:00
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.
2019-07-14 10:56:43 +02:00
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
2019-07-10 12:31:25 -04:00
David Myers
f152d3a746 Troubleshooting IPsec NAT issues (#1498) 2019-06-24 10:24:05 +02:00
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.
2019-06-20 07:06:32 +02:00
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
2019-06-19 17:31:43 +02:00
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
2019-06-06 17:58:31 +02:00
TC1977
ac6b543134 Update deploy-to-unsupported-cloud.md (#1467)
Future-proofs the "unsupported cloud providers" list.
2019-06-04 18:03:10 +02:00
TC1977
6b2defe470 Update deploy-from-ansible.md (#1464)
Merged redundant and contradictory "Local install" instructions.
2019-06-03 20:08:53 +02:00
Jack Ivanov
a2fdc509e1
Support for Ubuntu 19.04 (#1405)
* Ubuntu 19.04

* Azure to 19.04
2019-05-30 20:57:47 +02:00
TC1977
71c9c16ffe Update EC2 instructions (#1457)
* Update cloud-amazon-ec2.md

* Add files via upload
2019-05-30 16:14:45 +02:00
TC1977
a15d9657ce Update troubleshooting.md (#1440)
* Update troubleshooting.md

* Fix silly typo

* Add Android T-mobile fix

* Fix another silly typo

* Update troubleshooting.md
2019-05-20 11:44:56 +02:00
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
2019-05-17 14:49:29 +02:00
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.
2019-05-16 21:01:01 +02:00
Jack Ivanov
3ce92f9fee
Update deploy-from-ansible.md
Closes #1434
2019-05-16 07:17:00 +02:00
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.
2019-05-13 09:33:22 +02:00
Rémy Léone
826a2c5036 Add documentation about Scaleway credentials (#1419) 2019-05-12 11:21:55 +02:00
Jack Ivanov
6b33d09d9f
Scaleway modules (#1410)
* Scaleway modules

* Update docs
2019-05-03 09:55:45 +02:00
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.
2019-04-29 10:40:20 +02:00
David Myers
feb0091448 Update Linux WireGuard client instructions (#1407) 2019-04-26 06:56:38 +02:00
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
2019-04-26 06:54:37 +02:00
Jack Ivanov
a60d49f5fc
Update deploy-from-script-or-cloud-init-to-localhost.md 2019-04-19 10:57:31 +02:00
Jack Ivanov
4ea1dcdf5a
Update deploy-from-script-or-cloud-init-to-localhost.md 2019-04-10 12:20:00 +03:00
David Myers
4cb8c6dc22 Consolidate firewall documentation (#1386) 2019-04-09 15:38:18 +03:00
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
2019-04-07 11:24:31 +03:00
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
2019-03-29 17:51:50 +03:00
Ryan Kasper
3428c5197e Fix typo in doctl command (#1350) 2019-03-11 22:08:09 -04:00
Jack Ivanov
ec56203b87
Support for custom domain names in the endpoint (#1337) 2019-02-25 17:58:09 +01:00
Jack Ivanov
bfe168d31c
Closes #1059 2019-02-22 16:00:47 +01:00
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
2019-02-17 18:38:19 -05:00
David Myers
1be0908c51 Add note about new WireGuard for iOS default MTU (#1293) 2019-02-12 11:19:38 +01:00
Jack Ivanov
40b42c4f33
Get started with Azure more easily (#1323) 2019-02-08 13:34:01 +01:00
Jack Ivanov
9f66e47607
Closes #1321 2019-02-07 15:09:09 +01:00
Jack Ivanov
a266b4d633 Allow windows users install VPN for all users in the system (#1310) 2019-01-28 17:50:58 -05:00
Jack Ivanov
b89d406ee0
Update deploy-from-ansible.md (#1307) 2019-01-24 13:11:34 +01:00
Selim Şumlu
7a338b511d Update deploy-from-windows.md (#1296)
Updating the tutorial according to latest Windows 10 and Ubuntu changes
2019-01-14 22:23:48 -05:00
Jack Ivanov
72763ddec4
Update deploy-from-ansible.md 2019-01-08 08:53:35 +01:00
David Myers
5981bb9cad Replace 'max_mss' with 'reduce_mtu' (#1253) 2018-12-20 09:21:04 -05:00
David Myers
f9702fb3df Document DigitalOcean firewall (#1257) 2018-12-20 10:47:24 +01:00
Izzy Gomez
0a098b31f9 Fix typo in deploy-from-ansible.md. (#1261) 2018-12-20 10:46:37 +01:00
David Myers
e478d31e50 Update local install instructions (#1148)
* Update local install instructions

* Update deploy-to-ubuntu.md
2018-12-07 14:42:17 -05:00
William Woodruff
319b630cf4 docs/gce: Fix typos, clarify instructions (#1239) 2018-12-05 06:57:13 +01:00
jxn
66bbf0e83a fix typo in powershell execution in windows client set up doc (#1224) 2018-11-29 14:11:26 +01:00
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.
2018-11-27 07:09:33 +01:00
Jack Ivanov
1c16554b41
Rename Docker.md to deploy-from-docker.md 2018-11-15 10:22:11 +01:00
jxn
affadd401d fix typos in docker documentation and shell-script text (#1202) 2018-11-14 06:57:55 +01:00
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
2018-11-12 14:01:37 +01:00
Jack Ivanov
a53dec6349
Closes #1189 2018-11-06 07:03:44 +01:00
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
2018-10-28 09:35:43 +03:00
David Myers
cd3fbe5e47 Add WireGuard port to FAQ (#1141) 2018-10-05 17:29:09 +03:00
Jack Ivanov
d7dcaeb575
Update troubleshooting.md
Fixes #1118
2018-10-04 14:36:54 +03:00
Jack Ivanov
1442586682 WireGuard: Generate QR codes (#1129)
* WireGuard: Generate QR codes

* Update client-android.md
2018-09-29 22:25:02 -04:00
Mike Myers
8f090a36f8 Fix minor typos in Amazon EC2 setup documentation. (#1116) 2018-09-18 10:47:07 +03:00
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
2018-09-08 15:39:53 +02:00
ctrlaltreboot
57fb2ec347 Update client-windows.md (#1099)
Correct command would be ```powershell -ExecutionPolicy ByPass -File C:\path\to\windows_USER.ps1 Add```
2018-09-08 15:38:49 +02:00
in-in
244a698531 improve readability (#1085) 2018-09-02 15:22:24 -04:00
Jack Ivanov
cbe57991db Update docs (#1089) 2018-09-02 14:54:06 -04:00
Mike Myers
d9634eca8a Update screenshot of AWS EC2 minimum permissions with ec2:DescribeRegions (#1095) 2018-09-02 13:32:51 +03:00
Jack Ivanov
0188b2ff64
Update deploy-to-ubuntu.md 2018-08-30 16:40:01 +03:00
Jack Ivanov
687bab9e54
Update troubleshooting.md
Fixes #744
2018-08-30 16:25:59 +03:00
David Myers
ee3cb979f7 Document how to use WireGuard on Ubuntu clients (#1071) 2018-08-28 17:25:40 +03:00
TC1977
3144458ac7 Update cloud-amazon-ec2.md (#1081) 2018-08-28 17:05:01 +03:00
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".
2018-08-28 17:03:43 +03:00
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
2018-08-27 10:05:45 -04:00
Josh Dimarsky
a57a0adf5e Fixed broken link; clarified example docker command (#1064) 2018-08-24 11:42:59 +03:00
Quentin Moss
e0c317a958 Update documentation link (#1043) 2018-07-30 10:28:14 -04:00
Quentin Moss
b88f697b28 Update troubleshooting docs to include iOS reconnection loop (#1042)
* Update troubleshooting docs to include iOS reconnection loop

* nits
2018-07-30 09:01:03 -04:00
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
2018-07-22 17:58:09 -04:00
TC1977
facd55c635 Update deploy-to-ubuntu.md (#1019)
* Update deploy-to-ubuntu.md

rewrite of #813

* Update deploy-to-ubuntu.md
2018-07-03 10:02:54 -04:00
Jack Ivanov
07a6bbe652
Move max_mss to config.cfg (#1015)
* Move max_mss to config.cfg

* Add docs about max_mss

* Update troubleshooting.md
2018-07-03 09:06:45 +03:00
Jack Ivanov
4ca8c03e3c New default cipher suite (#991)
* New ciphers enabled

* Update CHANGELOG.md

* Switch ecparam to secp384r1

* Change CertificateType to ECDSA384
2018-06-27 11:22:45 -04:00
Mikael Forsgren
2931227db4 New Google Cloud Region (#1013)
Added the new Google Cloud Region Finland (europe-north1) with 3 zones
2018-06-26 13:01:45 +03:00
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.
2018-06-04 11:09:01 -04:00
Jack Ivanov
daca84b640 Update references to 18.04 2018-05-30 17:11:32 +03:00
Paul Kehrer
b928e4ff06 fix faq entry about cryptography build failure (#967) 2018-05-25 06:02:16 -07:00
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
2018-05-24 08:15:27 -07:00
Jack Ivanov
c82bd8c5ff DNS-over-HTTPS (#875) 2018-04-25 12:27:58 -07:00
Cat Jones
e78df40468 adds DigitalOcean documentation (#869) 2018-04-23 15:58:40 -07:00
iliyan jeliazkov
a8b4a47a88 Updating the language of the instructions (#880) 2018-04-18 22:10:03 -04:00
Anton T Johansson
7c087aeed9 Fixed path in Network Manager section (#860)
"configs" directory missing in paths.
2018-03-29 17:33:18 -04:00
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
2018-03-28 11:24:20 -07:00
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
2018-03-28 11:20:43 -07:00
Micah R Ledbetter
a8784bc0f4 Add FAQ entry regarding IPSEC backdoor (#460) (#853) 2018-03-28 11:20:17 -07:00
Arun John Kuruvilla
aea9c9a5e2 Removed ssh_public_key variable for AWS. Issue #773 (#817) 2018-03-27 21:53:13 +03:00
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
2018-03-22 09:26:50 -04:00
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.
2018-03-16 16:38:53 -04:00
Zac Connelly
3bb6c32abb update troubleshooting doc (#827)
* update troubleshooting doc

* remove breakline

* bump issue to the bottom
2018-03-12 11:49:45 -04:00