From d3f9f1944f410a95527b2c007adac4bdc1a9850d Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sun, 13 Mar 2022 00:16:28 -0600 Subject: [PATCH] Update docs --- docs/ikev2-howto-zh.md | 14 +++++++++++++- docs/ikev2-howto.md | 12 ++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/ikev2-howto-zh.md b/docs/ikev2-howto-zh.md index c4fcfb5..f9fffe5 100644 --- a/docs/ikev2-howto-zh.md +++ b/docs/ikev2-howto-zh.md @@ -414,16 +414,28 @@ sudo chmod 600 ikev2vpnca.cer vpnclient.cer vpnclient.key 1. 将生成的 `.p12` 文件安全地传送到你的计算机。 +
+ + 单击查看屏幕录影。 + + ![routeros get certificate](images/routeros-get-cert.gif) +
2. 在 WinBox 中,转到 System > certificates > import. 将 `.p12` 证书文件导入两次(是的,导入同一个文件两次)。检查你的 certificates panel。你应该看到 2 个文件,其中标注 KT 的是密钥。 +
+ + 单击查看屏幕录影。 + + ![routeros import certificate](images/routeros-import-cert.gif) +
3. 在 terminal 中运行以下命令。将以下内容替换为你自己的值。 `YOUR_VPN_SERVER_IP_OR_DNS_NAME` 是你的 VPN 服务器 IP 或域名。 `IMPORTED_CERTIFICATE` 是上面第 2 步中的证书名称,例如 `vpnclient.p12_0` -(标记为 KT 的那一行 - Priv. Key Trusted - 如果未标记为 KT,请再次导入证书)。 +(标记为 KT 的行 - Priv. Key Trusted - 如果未标记为 KT,请再次导入证书)。 `THESE_ADDRESSES_GO_THROUGH_VPN` 是你想要通过 VPN 浏览因特网的本地网络地址。 假设 RouterOS 后面的本地网络是 `192.168.0.0/24`,你可以使用 `192.168.0.0/24` 来指定整个网络,或者使用 `192.168.0.10` 来指定仅用于一个设备,依此类推。 diff --git a/docs/ikev2-howto.md b/docs/ikev2-howto.md index c03cd53..231a871 100644 --- a/docs/ikev2-howto.md +++ b/docs/ikev2-howto.md @@ -416,11 +416,23 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti 1. Securely transfer the generated `.p12` file to your computer. +
+ + Click to see screencast. + + ![routeros get certificate](images/routeros-get-cert.gif) +
2. In WinBox, go to System > certificates > import. Import the `.p12` certificate file twice (yes, import the same file two times!). Verify in your certificates panel. You will see 2 files, the one that is marked KT is the key. +
+ + Click to see screencast. + + ![routeros import certificate](images/routeros-import-cert.gif) +
3. Run these commands in terminal. Replace the following with your own values. `YOUR_VPN_SERVER_IP_OR_DNS_NAME` is your VPN server IP or DNS name.