You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -121,9 +121,7 @@ Enjoy your very own VPN! :sparkles::tada::rocket::sparkles:
121
121
122
122
## Important Notes
123
123
124
-
**Windows users**: If you get an error when trying to connect, see <ahref="docs/clients.md#troubleshooting"target="_blank">Troubleshooting</a>.
125
-
126
-
**Android 6 (Marshmallow) users**: Please see notes in <ahref="docs/clients.md#android"target="_blank">Configure IPsec/L2TP VPN Clients</a>.
124
+
**Windows and Android 6.0/7.0 users**: If you get an error when trying to connect, see <ahref="docs/clients.md#troubleshooting"target="_blank">Troubleshooting</a>.
127
125
128
126
If you wish to add, edit or remove VPN user accounts, refer to <ahref="docs/manage-users.md"target="_blank">Manage VPN Users</a>.
Copy file name to clipboardExpand all lines: docs/clients-xauth.md
+16-12Lines changed: 16 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
##Configure IPsec/XAuth VPN Clients
1
+
# Configure IPsec/XAuth VPN Clients
2
2
3
3
*Read this in other languages: [English](clients-xauth.md), [简体中文](clients-xauth-zh.md).*
4
4
5
-
*To connect using IPsec/L2TP mode, see: [Configure IPsec/L2TP VPN Clients](clients.md)*
5
+
*Note: You may also connect using [IPsec/L2TP mode](clients.md), or set up [IKEv2](ikev2-howto.md).*
6
6
7
7
After <ahref="https://github.com/hwdsl2/setup-ipsec-vpn"target="_blank">setting up your own VPN server</a>, follow these steps to configure your devices. IPsec/XAuth ("Cisco IPsec") is natively supported by Android, iOS and OS X. There is no additional software to install. Windows users can use the free <ahref="https://www.shrew.net/download/vpn"target="_blank">Shrew Soft client</a>. In case you are unable to connect, first check to make sure the VPN credentials were entered correctly.
8
8
9
-
`IPsec/XAuth` mode is also called "Cisco IPsec". Compared to `IPsec/L2TP`, it is generally faster with less overhead.
9
+
IPsec/XAuth mode is also called "Cisco IPsec". It is generally faster than IPsec/L2TP with less overhead.
10
10
11
11
---
12
12
* Platforms
@@ -15,9 +15,9 @@ After <a href="https://github.com/hwdsl2/setup-ipsec-vpn" target="_blank">settin
15
15
*[Android](#android)
16
16
*[iOS (iPhone/iPad)](#ios)
17
17
18
-
###Windows ###
18
+
## Windows
19
19
20
-
**Note:** You can also connect using [IPsec/L2TP mode](clients.md). No additional software is required.
20
+
**Note:** You may also connect using [IPsec/L2TP mode](clients.md). No additional software is required.
21
21
22
22
1. Download and install the free <ahref="https://www.shrew.net/download/vpn"target="_blank">Shrew Soft VPN client</a>.
23
23
1. Click Start Menu -> All Programs -> ShrewSoft VPN Client -> VPN Access Manager
@@ -35,7 +35,10 @@ After <a href="https://github.com/hwdsl2/setup-ipsec-vpn" target="_blank">settin
35
35
36
36
Once connected, you will see **tunnel enabled** in the VPN Connect status window. Click the "Network" tab, and confirm that **Established - 1** is displayed under "Security Associations". You can verify that your traffic is being routed properly by <ahref="https://encrypted.google.com/search?q=my+ip"target="_blank">looking up your IP address on Google</a>. It should say "Your public IP address is `Your VPN Server IP`".
37
37
38
-
### OS X ###
38
+
If you get an error when trying to connect, see <ahref="clients.md#troubleshooting"target="_blank">Troubleshooting</a>.
39
+
40
+
## OS X
41
+
39
42
1. Open System Preferences and go to the Network section.
40
43
1. Click the **+** button in the lower-left corner of the window.
41
44
1. Select **VPN** from the **Interface** drop-down menu.
@@ -54,7 +57,8 @@ Once connected, you will see **tunnel enabled** in the VPN Connect status window
54
57
55
58
To connect to the VPN: Use the menu bar icon, or go to the Network section of System Preferences, select the VPN and choose **Connect**. You can verify that your traffic is being routed properly by <ahref="https://encrypted.google.com/search?q=my+ip"target="_blank">looking up your IP address on Google</a>. It should say "Your public IP address is `Your VPN Server IP`".
56
59
57
-
### Android ###
60
+
## Android
61
+
58
62
1. Launch the **Settings** application.
59
63
1. Tap **More...** in the **Wireless & Networks** section.
60
64
1. Tap **VPN**.
@@ -71,14 +75,12 @@ To connect to the VPN: Use the menu bar icon, or go to the Network section of Sy
71
75
1. Check the **Save account information** checkbox.
72
76
1. Tap **Connect**.
73
77
74
-
**Note:** If unable to connect using Android 6 (Marshmallow), try these workarounds:
78
+
Once connected, you will see a VPN icon in the notification bar. You can verify that your traffic is being routed properly by <ahref="https://encrypted.google.com/search?q=my+ip"target="_blank">looking up your IP address on Google</a>. It should say "Your public IP address is `Your VPN Server IP`".
75
79
76
-
1. Tap the settings icon next to your VPN profile. Select "Show Advanced Options" and scroll down to the bottom. If the option "Backwards-compatible mode" exists, enable it and reconnect the VPN. If not, skip to step 2.
77
-
1. (Note: Latest version of the VPN scripts already include these changes) Edit `/etc/ipsec.conf` on the VPN server and append `,aes256-sha2_256` to both `ike=` and `phase2alg=` lines. Then add a new line `sha2-truncbug=yes` immediately after those. Indent lines with two spaces. Save the file and run `service ipsec restart`. (<ahref="https://libreswan.org/wiki/FAQ#Android_6.0_connection_comes_up_but_no_packet_flow"target="_blank">Reference</a>)
80
+
If you get an error when trying to connect, see <ahref="clients.md#troubleshooting"target="_blank">Troubleshooting</a>.
78
81
79
-
Once connected, you will see a VPN icon in the notification bar. You can verify that your traffic is being routed properly by <ahref="https://encrypted.google.com/search?q=my+ip"target="_blank">looking up your IP address on Google</a>. It should say "Your public IP address is `Your VPN Server IP`".
82
+
## iOS
80
83
81
-
### iOS ###
82
84
1. Go to Settings -> General -> VPN.
83
85
1. Tap **Add VPN Configuration...**.
84
86
1. Tap **Type**. Select **IPSec** and go back.
@@ -99,6 +101,8 @@ This document was adapted from the <a href="https://github.com/jlund/streisand"
99
101
100
102
## License
101
103
104
+
Note: This license applies to this document only.
105
+
102
106
Copyright (C) 2016 Lin Song
103
107
Based on <ahref="https://github.com/jlund/streisand/blob/master/playbooks/roles/l2tp-ipsec/templates/instructions.md.j2"target="_blank">the work of Joshua Lund</a> (Copyright 2014-2016)
0 commit comments