summaryrefslogtreecommitdiff
path: root/web/content.en/docs/windows/openconnect.md.j2
blob: a63e3f70b68026a6e3fd2a167ec23f7f7b1c87a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: OpenConnect
type: docs
---

# OpenConnect

## How to install and use OpenConnect client on Windows devices:

1. Go to the OpenConnect client's GitLab page by clicking the button below. Click on the link that is marked in the screenshot below. Installation is straightforward and very easy.

{{ '{{<' }} button href="https://gitlab.com/openconnect/openconnect-gui/-/releases" {{ '>}}' }}**OpenConnect client GitLab Page**{{ '{{<' }} /button {{ '>}}' }}

![Openconnect-01](/images/windows-oc-01.png)

2. It should prompt you to install a distributable and a network adapter, give it permission to do so.

3. Open the client, click on the gear icon in the middle, then click on **“New profile (Advanced)”**

![Openconnect-02](/images/windows-oc-02.png)

4. Download the two files that are provided below:

	1. **User Certificate:** [Click to download User Certificate](/{{item}}/{{item}}-User-Certificate.pem)

	2. **User Key:** [Click to download User Key](/{{item}}/{{item}}-User-Key.pem)

5. Do the following in the given order:

	1. Enter a **name** (any name you want)

	2. Copy the following and paste it in the server address field: **{{ ansible_all_ipv4_addresses[0] }}:{{ ocserv_port | default(4430) }}**

	3. Click on the button next to the **“User Certificated”** field, and choose the User Certificate file that you downloaded from **step 4**.

	4. Click on the button next to the **“User Key”** field, and choose the User Key  file that you downloaded from **step 4**.

![Openconnect-03](/images/windows-oc-03.png)
![Openconnect-04](/images/windows-oc-04.png)

6. Click save, then click on the big button in the middle saying **"connect"**.

![Openconnect-05](/images/windows-oc-05.png)

7. You'll be prompted to confirm the information regarding the destination address. Click on **“Accurate information”**.

![Openconnect-06](/images/windows-oc-06.png)

8. To disconnect the VPN, simply click on the **Disconnect** button in the main interface.

![Openconnect-07](/images/windows-oc-08.png)

9. And that's it! You can check your IP location to ensure that you are connected to the VPN and it's working properly.