Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
- Add note for Windows 10 upgrade issues. Closes hwdsl2#376
- Add note for Android VPN troubleshooting. Ref: hwdsl2#416
  • Loading branch information
hwdsl2 authored and andyvip committed Oct 28, 2019
1 parent cff788f commit 4b69886
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/clients-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* [Windows 错误 628](#windows-错误-628)
* [Android 6 及以上版本](#android-6-及以上版本)
* [Chromebook 连接问题](#chromebook-连接问题)
* [Windows 10 升级](#windows-10-升级)
* [其它错误](#其它错误)
* [额外的步骤](#额外的步骤)

Expand Down Expand Up @@ -214,6 +215,7 @@ Windows Phone 8.1 及以上版本用户可以尝试按照 <a href="http://forums
如果你无法使用 Android 6 或以上版本连接:

1. 单击 VPN 连接旁边的设置按钮,选择 "Show advanced options" 并且滚动到底部。如果选项 "Backward compatible mode" 存在,请启用它并重试连接。如果不存在,请尝试下一步。
1. 编辑 VPN 服务器上的 `/etc/ipsec.conf`。找到 `phase2alg=...` 一行并在末尾加上 `,aes256-sha2_256` 字样。保存修改并运行 `service ipsec restart`。如果仍然无法连接,请尝试下一步。
1. 编辑 VPN 服务器上的 `/etc/ipsec.conf`。找到 `sha2-truncbug=yes` 并将它替换为 `sha2-truncbug=no`。保存修改并运行 `service ipsec restart`。(<a href="https://libreswan.org/wiki/FAQ#Configuration_Matters" target="_blank">参见</a>)

![Android VPN workaround](images/vpn-profile-Android.png)
Expand All @@ -222,6 +224,10 @@ Windows Phone 8.1 及以上版本用户可以尝试按照 <a href="http://forums

Chromebook 用户: 如果你无法连接,请参见 <a href="https://github.com/hwdsl2/setup-ipsec-vpn/issues/265" target="_blank">这个 Issue</a>。编辑 VPN 服务器上的 `/etc/ipsec.conf`。找到这一行 `phase2alg=...` 并在结尾加上 `,aes_gcm-null` 。保存修改并运行 `service ipsec restart`。

### Windows 10 升级

在升级 Windows 10 版本之后 (比如从 1709 到 1803),你可能需要重新按照 [Windows 错误 809](#windows-错误-809) 中的步骤修改注册表并重启。更多信息请参见 <a href="https://github.com/hwdsl2/setup-ipsec-vpn/issues/376" target="_blank">这个 Issue</a>。

### 其它错误

如果你遇到其它错误,请参见以下链接:
Expand Down
6 changes: 6 additions & 0 deletions docs/clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ After <a href="https://github.com/hwdsl2/setup-ipsec-vpn" target="_blank">settin
* [Windows Error 628](#windows-error-628)
* [Android 6 and above](#android-6-and-above)
* [Chromebook issues](#chromebook-issues)
* [Windows 10 upgrades](#windows-10-upgrades)
* [Other errors](#other-errors)
* [Additional steps](#additional-steps)

Expand Down Expand Up @@ -214,6 +215,7 @@ To fix this error, please follow these steps:
If you are unable to connect using Android 6 or above:

1. Tap the "Settings" icon next to your VPN profile. Select "Show advanced options" and scroll down to the bottom. If the option "Backward compatible mode" exists, enable it and reconnect the VPN. If not, try the next step.
1. Edit `/etc/ipsec.conf` on the VPN server. Find the line `phase2alg=...` and append `,aes256-sha2_256` at the end. Save the file and run `service ipsec restart`. If still unable to connect, try the next step.
1. Edit `/etc/ipsec.conf` on the VPN server. Find `sha2-truncbug=yes` and replace it with `sha2-truncbug=no`. Save the file and run `service ipsec restart`. (<a href="https://libreswan.org/wiki/FAQ#Configuration_Matters" target="_blank">Ref</a>)

![Android VPN workaround](images/vpn-profile-Android.png)
Expand All @@ -222,6 +224,10 @@ If you are unable to connect using Android 6 or above:

Chromebook users: If you are unable to connect, refer to <a href="https://github.com/hwdsl2/setup-ipsec-vpn/issues/265" target="_blank">this issue</a>. Edit `/etc/ipsec.conf` on the VPN server. Find the line `phase2alg=...` and append `,aes_gcm-null` at the end. Save the file and run `service ipsec restart`.

### Windows 10 upgrades

After upgrading Windows 10 version (e.g. from 1709 to 1803), you may need to re-apply the fix for [Windows Error 809](#windows-error-809) and reboot. Refer to <a href="https://github.com/hwdsl2/setup-ipsec-vpn/issues/376" target="_blank">this issue</a> for more information.

### Other errors

If you encounter other errors, refer to the links below:
Expand Down

0 comments on commit 4b69886

Please sign in to comment.