Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hwdsl2 committed Nov 14, 2022
1 parent 9188cd5 commit 94e005c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ sudo ikev2.sh

**[配置 IPsec/XAuth ("Cisco IPsec") VPN 客户端](docs/clients-xauth-zh.md)**

**[下载电子书:搭建自己的 VPN 服务器(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)**
**[[支持者] 下载电子书:搭建自己的 VPN 服务器](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)**

开始使用自己的专属 VPN! :sparkles::tada::rocket::sparkles:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Get your computer or device to use the VPN. Please refer to:

**[Configure IPsec/XAuth ("Cisco IPsec") VPN Clients](docs/clients-xauth.md)**

**[Download eBook: Set Up Your Own VPN Server (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)**
**[[Supporters] Download eBook: Set Up Your Own VPN Server](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)**

Enjoy your very own VPN! :sparkles::tada::rocket::sparkles:

Expand Down
18 changes: 7 additions & 11 deletions docs/ikev2-howto-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来

#### 手动导入配置

[**屏幕录影:** 在 Windows 上手动导入 IKEv2 配置(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
[[支持者] **屏幕录影:** 在 Windows 上手动导入 IKEv2 配置](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)

或者,**Windows 7, 8, 10 和 11** 用户可以手动导入 IKEv2 配置:

Expand Down Expand Up @@ -147,7 +147,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来

### OS X (macOS)

[**屏幕录影:** 在 macOS 上导入 IKEv2 配置并连接(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
[[支持者] **屏幕录影:** 在 macOS 上导入 IKEv2 配置并连接](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)

首先,将生成的 `.mobileconfig` 文件安全地传送到你的 Mac,然后双击并按提示操作,以导入为 macOS 配置描述文件。如果你的 Mac 运行 macOS Big Sur 或更新版本,打开系统偏好设置并转到描述文件部分以完成导入。在完成之后,检查并确保 "IKEv2 VPN" 显示在系统偏好设置 -> 描述文件中。

Expand All @@ -158,9 +158,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
1. 选中 **在菜单栏中显示 VPN 状态** 复选框。
1. 单击 **连接**。

(可选功能)启用 **VPN On Demand(按需连接)** 以在你的 Mac 连接到 Wi-Fi 时自动启动 VPN 连接。要启用它,选中 VPN 连接的 **按需连接** 复选框,然后单击 **应用**。你可以自定义按需连接规则,以排除某些 Wi-Fi 网络(例如你的家庭网络)。参见:

[**指南:** 为 macOS 和 iOS 自定义 IKEv2 VPN On Demand 规则(支持者)](https://ko-fi.com/post/Guide-Customize-IKEv2-VPN-On-Demand-rules-for-mac-H2H7G61WH)
(可选功能)启用 **VPN On Demand(按需连接)** 以在你的 Mac 连接到 Wi-Fi 时自动启动 VPN 连接。要启用它,选中 VPN 连接的 **按需连接** 复选框,然后单击 **应用**。你可以自定义按需连接规则,以排除某些 Wi-Fi 网络(例如你的家庭网络)。参见 [[支持者] **指南:** 为 macOS 和 iOS 自定义 IKEv2 VPN On Demand 规则](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)

<details>
<summary>
Expand Down Expand Up @@ -205,7 +203,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来

### iOS

[**屏幕录影:** 在 iOS (iPhone & iPad) 上导入 IKEv2 配置并连接(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
[[支持者] **屏幕录影:** 在 iOS (iPhone & iPad) 上导入 IKEv2 配置并连接](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)

首先,将生成的 `.mobileconfig` 文件安全地传送到你的 iOS 设备,并且导入为 iOS 配置描述文件。要传送文件,你可以使用:

Expand All @@ -220,9 +218,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
1. 进入设置 -> VPN。选择与 `你的 VPN 服务器 IP`(或者域名)对应的 VPN 连接。
1. 启用 **VPN** 连接。

(可选功能)启用 **VPN On Demand(按需连接)** 以在你的 iOS 设备连接到 Wi-Fi 时自动启动 VPN 连接。要启用它,单击 VPN 连接右边的 "i" 图标,然后启用 **按需连接**。你可以自定义按需连接规则,以排除某些 Wi-Fi 网络(例如你的家庭网络),或者在 Wi-Fi 和蜂窝网络上都启动 VPN 连接。参见:

[**指南:** 为 macOS 和 iOS 自定义 IKEv2 VPN On Demand 规则(支持者)](https://ko-fi.com/post/Guide-Customize-IKEv2-VPN-On-Demand-rules-for-mac-H2H7G61WH)
(可选功能)启用 **VPN On Demand(按需连接)** 以在你的 iOS 设备连接到 Wi-Fi 时自动启动 VPN 连接。要启用它,单击 VPN 连接右边的 "i" 图标,然后启用 **按需连接**。你可以自定义按需连接规则,以排除某些 Wi-Fi 网络(例如你的家庭网络),或者在 Wi-Fi 和蜂窝网络上都启动 VPN 连接。参见 [[支持者] **指南:** 为 macOS 和 iOS 自定义 IKEv2 VPN On Demand 规则](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)

<details>
<summary>
Expand Down Expand Up @@ -267,7 +263,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来

### Android

[**屏幕录影:** 使用 Android strongSwan VPN 客户端连接(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
[[支持者] **屏幕录影:** 使用 Android strongSwan VPN 客户端连接](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)

1. 将生成的 `.sswan` 文件安全地传送到你的 Android 设备。
1. 从 [**Google Play**](https://play.google.com/store/apps/details?id=org.strongswan.android),[**F-Droid**](https://f-droid.org/en/packages/org.strongswan.android/) 或 [**strongSwan 下载网站**](https://download.strongswan.org/Android/)下载并安装 strongSwan VPN 客户端。
Expand All @@ -285,7 +281,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
或者,Android 11+ 用户也可以使用系统自带的 IKEv2 客户端连接。
</summary>

[**屏幕录影:** 使用 Android 11+ 系统自带的 VPN 客户端连接(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
[[支持者] **屏幕录影:** 使用 Android 11+ 系统自带的 VPN 客户端连接](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)

1. 将生成的 `.p12` 文件安全地传送到你的 Android 设备。
1. 启动 **设置** App。
Expand Down
18 changes: 7 additions & 11 deletions docs/ikev2-howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti

#### Manually import configuration

[**Screencast:** IKEv2 Manually Import Configuration on Windows (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
[[Supporters] **Screencast:** IKEv2 Manually Import Configuration on Windows](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)

Alternatively, **Windows 7, 8, 10 and 11** users can manually import IKEv2 configuration:

Expand Down Expand Up @@ -147,7 +147,7 @@ Using the following steps, you can remove the VPN connection and optionally rest

### OS X (macOS)

[**Screencast:** IKEv2 Import Configuration and Connect on macOS (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
[[Supporters] **Screencast:** IKEv2 Import Configuration and Connect on macOS](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)

First, securely transfer the generated `.mobileconfig` file to your Mac, then double-click and follow the prompts to import as a macOS profile. If your Mac runs macOS Big Sur or newer, open System Preferences and go to the Profiles section to finish importing. When finished, check to make sure "IKEv2 VPN" is listed under System Preferences -> Profiles.

Expand All @@ -158,9 +158,7 @@ To connect to the VPN:
1. Check the **Show VPN status in menu bar** checkbox.
1. Click **Connect**.

(Optional feature) Enable **VPN On Demand** to automatically start a VPN connection when your Mac is on Wi-Fi. To enable, check the **Connect on demand** checkbox for the VPN connection, and click **Apply**. You can customize VPN On Demand rules to exclude certain Wi-Fi network(s) such as your home network. See:

[**Guide:** Customize IKEv2 VPN On Demand rules for macOS and iOS (supporters)](https://ko-fi.com/post/Guide-Customize-IKEv2-VPN-On-Demand-rules-for-mac-J3J4G5TY3)
(Optional feature) Enable **VPN On Demand** to automatically start a VPN connection when your Mac is on Wi-Fi. To enable, check the **Connect on demand** checkbox for the VPN connection, and click **Apply**. You can customize VPN On Demand rules to exclude certain Wi-Fi network(s) such as your home network. See [[Supporters] **Guide:** Customize IKEv2 VPN On Demand rules for macOS and iOS](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)

<details>
<summary>
Expand Down Expand Up @@ -205,7 +203,7 @@ To remove the IKEv2 VPN connection, open System Preferences -> Profiles and remo

### iOS

[**Screencast:** IKEv2 Import Configuration and Connect on iOS (iPhone & iPad) (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
[[Supporters] **Screencast:** IKEv2 Import Configuration and Connect on iOS (iPhone & iPad)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)

First, securely transfer the generated `.mobileconfig` file to your iOS device, then import it as an iOS profile. To transfer the file, you may use:

Expand All @@ -220,9 +218,7 @@ To connect to the VPN:
1. Go to Settings -> VPN. Select the VPN connection with `Your VPN Server IP` (or DNS name).
1. Slide the **VPN** switch ON.

(Optional feature) Enable **VPN On Demand** to automatically start a VPN connection when your iOS device is on Wi-Fi. To enable, tap the "i" icon on the right of the VPN connection, and enable **Connect On Demand**. You can customize VPN On Demand rules to exclude certain Wi-Fi network(s) such as your home network, or to start the VPN connection both on Wi-Fi and cellular. See:

[**Guide:** Customize IKEv2 VPN On Demand rules for macOS and iOS (supporters)](https://ko-fi.com/post/Guide-Customize-IKEv2-VPN-On-Demand-rules-for-mac-J3J4G5TY3)
(Optional feature) Enable **VPN On Demand** to automatically start a VPN connection when your iOS device is on Wi-Fi. To enable, tap the "i" icon on the right of the VPN connection, and enable **Connect On Demand**. You can customize VPN On Demand rules to exclude certain Wi-Fi network(s) such as your home network, or to start the VPN connection both on Wi-Fi and cellular. See [[Supporters] **Guide:** Customize IKEv2 VPN On Demand rules for macOS and iOS](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)

<details>
<summary>
Expand Down Expand Up @@ -267,7 +263,7 @@ To remove the IKEv2 VPN connection, open Settings -> General -> VPN & Device Man

### Android

[**Screencast:** Connect using Android strongSwan VPN Client (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
[[Supporters] **Screencast:** Connect using Android strongSwan VPN Client](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)

1. Securely transfer the generated `.sswan` file to your Android device.
1. Install strongSwan VPN Client from [**Google Play**](https://play.google.com/store/apps/details?id=org.strongswan.android), [**F-Droid**](https://f-droid.org/en/packages/org.strongswan.android/) or [**strongSwan download server**](https://download.strongswan.org/Android/).
Expand All @@ -285,7 +281,7 @@ To remove the IKEv2 VPN connection, open Settings -> General -> VPN & Device Man
Alternatively, Android 11+ users can also connect using the native IKEv2 client.
</summary>

[**Screencast:** Connect using Native VPN Client on Android 11+ (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
[[Supporters] **Screencast:** Connect using Native VPN Client on Android 11+](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)

1. Securely transfer the generated `.p12` file to your Android device.
1. Launch the **Settings** application.
Expand Down

0 comments on commit 94e005c

Please sign in to comment.