Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
move install instruction into client block
Browse files Browse the repository at this point in the history
  • Loading branch information
alimakki committed Aug 5, 2018
1 parent a3f3b6b commit d29c738
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions playbooks/roles/openconnect/templates/instructions.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,6 @@ You should be good to go! You can verify that your traffic is being routed prope
<a name="linux-openconnect-cli"></a>
#### OpenConnect CLI

1. Install OpenConnect:

`sudo apt install openconnect`

* Alternatively, you can also download and compile the [OpenConnect source code](/mirror/openconnect).

<select id="linux-cli-select" onchange="showInstructions(this)">
<option value="linux-cli-none"></option>
{% for client in vpn_client_pkcs12_password_list.results %}
Expand All @@ -151,6 +145,12 @@ You should be good to go! You can verify that your traffic is being routed prope
{% for client in vpn_client_pkcs12_password_list.results %}
<div markdown="1" id="linux-cli-{{ client.client_name.stdout }}" style="display:none">
##### Instructions for {{ client.client_name.stdout }}
1. Install OpenConnect:

`sudo apt install openconnect`

* Alternatively, you can also download and compile the [OpenConnect source code](/mirror/openconnect).

1. Download the [server certificate](/openconnect/ca.crt) file
1. Download the client [pkcs12 file](/openconnect/{{ client.client_name.stdout }}.p12)
1. Place the downloaded server certificate and a selected client certificate into a separate folder (e.g. `{{ streisand_server_name }}-openconnect`), open your Terminal, and `cd` to that directory.
Expand All @@ -160,7 +160,6 @@ You should be good to go! You can verify that your traffic is being routed prope

You should be good to go! You can verify that your traffic is being routed properly by [looking up your IP address on DuckDuckGo]({{ streisand_my_ip_url }}). It should say *Your public IP address is {{ streisand_ipv4_address }}*.
</div>

{% endfor %}

<a name="android"></a>
Expand Down

0 comments on commit d29c738

Please sign in to comment.