blob: c3a97a6eb8349a1b3a06a490f01ddcb79ef5f6ef (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
---
title: AnyConnect
type: docs
---
# AnyConnect
1. Install the android **Cisco AnyConnect** app from Google PlayStore. Click on the button below and it will take you to its Google Play Store page.
{{ '{{<' }} button href="https://play.google.com/store/apps/details?id=com.cisco.anyconnect.vpn.android.avf&hl=en&gl=US" {{ '>}}' }}**Download Cisco AnyConnect from Google Play Store**{{ '{{<' }} /button {{ '>}}' }}
2. Download your certificate file by clicking the button below:
{{ '{{<' }} button href="/{{item}}/{{item}}-Certificate-Android.p12" {{ '>}}' }}**Download client .P12 certificate file**{{ '{{<' }} /button {{ '>}}' }}
3. Launch the app.
4. Click on **OK** to close the intial terms of service notice.

5. Grant it the relevant permissions (Access to your **notifications**, in this case).

6. Click on the menu button on top right corner and go to **“Settings”**.

7. Uncheck the second option that says **“Block Untrusted Servers”**.

8. Click on the arrow icon on top left corner to go back to the home menu of the app.
9. In the middle of the screen, click on **“Connections”**.

10. Click on the + icon at the bottom of the screen.

11. In the next window:
1. Enter any name you want.
2. Enter the following server address and port: **{{ ansible_all_ipv4_addresses[0] }}:{{ ocserv_port | default(4430) }}**
3. Once you entered the server address, click on **“Advanced Preferences”**.

12. Click on the first option that says **“Certificate”**.

13. Click on the **“Import”** button at the bottom of the screeen.

14. Click on **“File System”**. It should open your file browser app.

15. Find the **.p12 certificate** file that you downloaded in step 2.

16. It will ask for a password. The password is: **{{ item }}**

17. Once the certificate is imported, click on it.

18. Click on **“Done”** at the bottom of the screen, and click on **“Done”** again.


19. Click on the arrow icon at the top left corner.

20. **Turn on** the VPN by clicking on the VPN toggle.

21. Click on **“Continue”**.

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

|