Update docs
- Add troubleshooting section on iOS/Android sleep mode
This commit is contained in:
parent
ff82c3fb6e
commit
9756ef92fa
@ -21,6 +21,7 @@
|
|||||||
* [Windows 10 升级](#windows-10-升级)
|
* [Windows 10 升级](#windows-10-升级)
|
||||||
* [Windows 8/10 DNS 泄漏](#windows-810-dns-泄漏)
|
* [Windows 8/10 DNS 泄漏](#windows-810-dns-泄漏)
|
||||||
* [macOS VPN 流量](#macos-vpn-流量)
|
* [macOS VPN 流量](#macos-vpn-流量)
|
||||||
|
* [iOS/Android 睡眠模式](#iosandroid-睡眠模式)
|
||||||
* [Android 6 及以上版本](#android-6-及以上版本)
|
* [Android 6 及以上版本](#android-6-及以上版本)
|
||||||
* [Chromebook 连接问题](#chromebook-连接问题)
|
* [Chromebook 连接问题](#chromebook-连接问题)
|
||||||
* [其它错误](#其它错误)
|
* [其它错误](#其它错误)
|
||||||
@ -195,6 +196,7 @@ Windows Phone 8.1 及以上版本用户可以尝试按照 <a href="http://forums
|
|||||||
* [Windows 10 升级](#windows-10-升级)
|
* [Windows 10 升级](#windows-10-升级)
|
||||||
* [Windows 8/10 DNS 泄漏](#windows-810-dns-泄漏)
|
* [Windows 8/10 DNS 泄漏](#windows-810-dns-泄漏)
|
||||||
* [macOS VPN 流量](#macos-vpn-流量)
|
* [macOS VPN 流量](#macos-vpn-流量)
|
||||||
|
* [iOS/Android 睡眠模式](#iosandroid-睡眠模式)
|
||||||
* [Android 6 及以上版本](#android-6-及以上版本)
|
* [Android 6 及以上版本](#android-6-及以上版本)
|
||||||
* [Chromebook 连接问题](#chromebook-连接问题)
|
* [Chromebook 连接问题](#chromebook-连接问题)
|
||||||
* [其它错误](#其它错误)
|
* [其它错误](#其它错误)
|
||||||
@ -257,6 +259,12 @@ Windows 8.x 和 10 默认使用 "smart multi-homed name resolution" (智能多
|
|||||||
|
|
||||||
OS X (macOS) 用户: 如果你成功地使用 IPsec/L2TP 模式连接,但是你的公有 IP 没有显示为 `你的 VPN 服务器 IP`,请阅读上面的 [OS X](#os-x) 部分并完成这一步:单击 **高级** 按钮,并选中 **通过VPN连接发送所有通信** 复选框。然后重新连接 VPN。
|
OS X (macOS) 用户: 如果你成功地使用 IPsec/L2TP 模式连接,但是你的公有 IP 没有显示为 `你的 VPN 服务器 IP`,请阅读上面的 [OS X](#os-x) 部分并完成这一步:单击 **高级** 按钮,并选中 **通过VPN连接发送所有通信** 复选框。然后重新连接 VPN。
|
||||||
|
|
||||||
|
### iOS/Android 睡眠模式
|
||||||
|
|
||||||
|
为了节约电池,iOS 设备 (iPhone/iPad) 在屏幕变黑(睡眠模式)之后不久就会自动断开 Wi-Fi 连接。这会导致 IPsec VPN 断开。该行为是被 <a href="https://discussions.apple.com/thread/2333948" target="_blank">故意设计的</a> 并且不能被配置。如果你需要 VPN 在设备唤醒后自动重连,可以另外尝试使用 <a href="https://github.com/Nyr/openvpn-install" target="_blank">OpenVPN</a>,它支持 <a href="https://docs.openvpn.net/connecting/connecting-to-access-server-with-apple-ios/faq-regarding-openvpn-connect-ios/" target="_blank">一些选项</a> 比如 "Reconnect on Wakeup" 和 "Seamless Tunnel"。
|
||||||
|
|
||||||
|
Android 设备在进入睡眠模式不久后也会断开 Wi-Fi 连接,如果你没有启用选项 "睡眠期间保持 WLAN 开启" 的话。该选项在 Android 8 (Oreo) 中不再可用。 另外,你也可以尝试打开 "始终开启 VPN" 选项以保持连接。详情请看 <a href="https://support.google.com/android/answer/9089766?hl=zh-Hans" target="_blank">这里</a>。
|
||||||
|
|
||||||
### Android 6 及以上版本
|
### Android 6 及以上版本
|
||||||
|
|
||||||
如果你无法使用 Android 6 或以上版本连接:
|
如果你无法使用 Android 6 或以上版本连接:
|
||||||
|
@ -21,6 +21,7 @@ After <a href="https://github.com/hwdsl2/setup-ipsec-vpn" target="_blank">settin
|
|||||||
* [Windows 10 upgrades](#windows-10-upgrades)
|
* [Windows 10 upgrades](#windows-10-upgrades)
|
||||||
* [Windows 8/10 DNS leaks](#windows-810-dns-leaks)
|
* [Windows 8/10 DNS leaks](#windows-810-dns-leaks)
|
||||||
* [macOS VPN traffic](#macos-vpn-traffic)
|
* [macOS VPN traffic](#macos-vpn-traffic)
|
||||||
|
* [iOS/Android sleep mode](#iosandroid-sleep-mode)
|
||||||
* [Android 6 and above](#android-6-and-above)
|
* [Android 6 and above](#android-6-and-above)
|
||||||
* [Chromebook issues](#chromebook-issues)
|
* [Chromebook issues](#chromebook-issues)
|
||||||
* [Other errors](#other-errors)
|
* [Other errors](#other-errors)
|
||||||
@ -195,6 +196,7 @@ See [Linux VPN Clients](#linux-vpn-clients).
|
|||||||
* [Windows 10 upgrades](#windows-10-upgrades)
|
* [Windows 10 upgrades](#windows-10-upgrades)
|
||||||
* [Windows 8/10 DNS leaks](#windows-810-dns-leaks)
|
* [Windows 8/10 DNS leaks](#windows-810-dns-leaks)
|
||||||
* [macOS VPN traffic](#macos-vpn-traffic)
|
* [macOS VPN traffic](#macos-vpn-traffic)
|
||||||
|
* [iOS/Android sleep mode](#iosandroid-sleep-mode)
|
||||||
* [Android 6 and above](#android-6-and-above)
|
* [Android 6 and above](#android-6-and-above)
|
||||||
* [Chromebook issues](#chromebook-issues)
|
* [Chromebook issues](#chromebook-issues)
|
||||||
* [Other errors](#other-errors)
|
* [Other errors](#other-errors)
|
||||||
@ -257,6 +259,12 @@ In addition, if your computer has IPv6 enabled, all IPv6 traffic (including DNS
|
|||||||
|
|
||||||
OS X (macOS) users: If you can successfully connect using IPsec/L2TP mode, but your public IP does not show `Your VPN Server IP`, read the [OS X](#os-x) section above and complete this step: Click the **Advanced** button and make sure the **Send all traffic over VPN connection** checkbox is checked. Then re-connect the VPN.
|
OS X (macOS) users: If you can successfully connect using IPsec/L2TP mode, but your public IP does not show `Your VPN Server IP`, read the [OS X](#os-x) section above and complete this step: Click the **Advanced** button and make sure the **Send all traffic over VPN connection** checkbox is checked. Then re-connect the VPN.
|
||||||
|
|
||||||
|
### iOS/Android sleep mode
|
||||||
|
|
||||||
|
To save battery, iOS devices (iPhone/iPad) will automatically disconnect Wi-Fi shortly after the screen turns off (sleep mode). As a result, the IPsec VPN disconnects. This behavior is <a href="https://discussions.apple.com/thread/2333948" target="_blank">by design</a> and cannot be configured. If you need the VPN to auto-reconnect when the device wakes up, try <a href="https://github.com/Nyr/openvpn-install" target="_blank">OpenVPN</a> instead, which <a href="https://docs.openvpn.net/connecting/connecting-to-access-server-with-apple-ios/faq-regarding-openvpn-connect-ios/" target="_blank">has support for options</a> such as "Reconnect on Wakeup" and "Seamless Tunnel".
|
||||||
|
|
||||||
|
Android devices will also disconnect Wi-Fi shortly after entering sleep mode, unless the option "Keep Wi-Fi on during sleep" is enabled. This option is no longer available in Android 8 (Oreo). Alternatively, you may try enabling the "Always-on VPN" option to stay connected. Learn more <a href="https://support.google.com/android/answer/9089766?hl=en" target="_blank">here</a>.
|
||||||
|
|
||||||
### Android 6 and above
|
### Android 6 and above
|
||||||
|
|
||||||
If you are unable to connect using Android 6 or above:
|
If you are unable to connect using Android 6 or above:
|
||||||
|
Loading…
Reference in New Issue
Block a user