1
0
mirror of synced 2025-02-28 09:53:16 +03:00
This commit is contained in:
hwdsl2 2021-03-07 00:12:46 -06:00
parent 1abcd704be
commit 8fa3bfac80
3 changed files with 6 additions and 6 deletions

View File

@ -128,7 +128,7 @@ To customize IKEv2 or client options, run this script without arguments.
### OS X (macOS) ### OS X (macOS)
首先,将生成的 `.mobileconfig` 文件安全地传送到你的 Mac然后双击并按提示操作以导入为 macOS 配置描述文件。在完成之后,检查并确保 "IKEv2 VPN configuration" 显示在系统偏好设置 -> 描述文件中。 首先,将生成的 `.mobileconfig` 文件安全地传送到你的 Mac然后双击并按提示操作以导入为 macOS 配置描述文件。在完成之后,检查并确保 "IKEv2 VPN" 显示在系统偏好设置 -> 描述文件中。
要连接到 VPN 要连接到 VPN
@ -180,7 +180,7 @@ To customize IKEv2 or client options, run this script without arguments.
1. 使用 iTunes 的 "文件共享" 功能上传到设备,然后打开 iOS 设备上的 "文件" 应用程序,将上传的文件移动到 "On My iPhone" 目录下。然后单击它并到 "设置" 应用程序中导入,或者 1. 使用 iTunes 的 "文件共享" 功能上传到设备,然后打开 iOS 设备上的 "文件" 应用程序,将上传的文件移动到 "On My iPhone" 目录下。然后单击它并到 "设置" 应用程序中导入,或者
1. 将文件放在一个你的安全的托管网站上,然后在 Mobile Safari 中下载并导入它们。 1. 将文件放在一个你的安全的托管网站上,然后在 Mobile Safari 中下载并导入它们。
在完成之后,检查并确保 "IKEv2 VPN configuration" 显示在设置 -> 通用 -> 描述文件中。 在完成之后,检查并确保 "IKEv2 VPN" 显示在设置 -> 通用 -> 描述文件中。
要连接到 VPN 要连接到 VPN

View File

@ -128,7 +128,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
### OS X (macOS) ### OS X (macOS)
First, securely transfer the generated `.mobileconfig` file to your Mac, then double-click and follow the prompts to import as a macOS profile. When finished, check to make sure "IKEv2 VPN configuration" is listed under System Preferences -> Profiles. First, securely transfer the generated `.mobileconfig` file to your Mac, then double-click and follow the prompts to import as a macOS profile. When finished, check to make sure "IKEv2 VPN" is listed under System Preferences -> Profiles.
To connect to the VPN: To connect to the VPN:
@ -180,7 +180,7 @@ First, securely transfer the generated `.mobileconfig` file to your iOS device,
1. Upload to your device using "File Sharing" in iTunes, then open the "Files" app on your iOS device, move the uploaded file to the "On My iPhone" folder. After that, tap the file and go to "Settings" to import, or 1. Upload to your device using "File Sharing" in iTunes, then open the "Files" app on your iOS device, move the uploaded file to the "On My iPhone" folder. After that, tap the file and go to "Settings" to import, or
1. Host the file on a secure website of yours, then download and import it in Mobile Safari. 1. Host the file on a secure website of yours, then download and import it in Mobile Safari.
When finished, check to make sure "IKEv2 VPN configuration" is listed under Settings -> General -> Profile(s). When finished, check to make sure "IKEv2 VPN" is listed under Settings -> General -> Profile(s).
To connect to the VPN: To connect to the VPN:

View File

@ -870,7 +870,7 @@ $ca_base64
</dict> </dict>
</array> </array>
<key>PayloadDisplayName</key> <key>PayloadDisplayName</key>
<string>IKEv2 VPN configuration ($server_addr)</string> <string>IKEv2 VPN ($server_addr)</string>
<key>PayloadIdentifier</key> <key>PayloadIdentifier</key>
<string>com.apple.vpn.managed.$(uuidgen)</string> <string>com.apple.vpn.managed.$(uuidgen)</string>
<key>PayloadRemovalDisallowed</key> <key>PayloadRemovalDisallowed</key>
@ -905,7 +905,7 @@ create_android_profile() {
cat > "$sswan_file" <<EOF cat > "$sswan_file" <<EOF
{ {
"uuid": "$uuid2", "uuid": "$uuid2",
"name": "IKEv2 VPN profile ($server_addr)", "name": "IKEv2 VPN ($server_addr)",
"type": "ikev2-cert", "type": "ikev2-cert",
"remote": { "remote": {
"addr": "$server_addr" "addr": "$server_addr"