From 87e1282ebbb1044d371b95d72372bf024ec9ebde Mon Sep 17 00:00:00 2001 From: Christopher De Vries Date: Wed, 31 May 2017 05:56:17 -0700 Subject: [PATCH] Make documentation on iptables for local installation clearer. (#575) --- docs/deploy-from-ansible.md | 6 ++++++ docs/deploy-to-ubuntu.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/deploy-from-ansible.md b/docs/deploy-from-ansible.md index 6f6bdca..0a9cafd 100644 --- a/docs/deploy-from-ansible.md +++ b/docs/deploy-from-ansible.md @@ -51,6 +51,12 @@ Required variables: - server_user - IP_subject_alt_name +Note that by default, the iptables rules on your existing server will be overwritten. If you don't want to overwrite the iptables rules, you can use the `--skip-tags iptables` flag, for example: + +```shell +ansible-playbook deploy.yml -t local,vpn --skip-tags iptables -e 'server_ip=172.217.2.238 server_user=algo IP_subject_alt_name=172.217.2.238' +``` + ### Digital Ocean Required variables: diff --git a/docs/deploy-to-ubuntu.md b/docs/deploy-to-ubuntu.md index 0d16652..929b719 100644 --- a/docs/deploy-to-ubuntu.md +++ b/docs/deploy-to-ubuntu.md @@ -13,4 +13,4 @@ git clone https://github.com/trailofbits/algo cd algo && ./algo ``` -**Warning**: If you run Algo on your existing server, the iptables rules will be overwritten. If you don't want to overwrite the rules, you must deploy via `ansible-playbook` and skip the `iptables` tag as described below. +**Warning**: If you run Algo on your existing server, the iptables rules will be overwritten. If you don't want to overwrite the rules, you must deploy via `ansible-playbook` and skip the `iptables` tag as described in [deploy-from-ansible.md](deploy-from-ansible.md).