From 3f10e2efafcddbf0d7173da2d94b2815fa65d2f0 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Fri, 28 Jul 2023 01:08:19 -0500 Subject: [PATCH] Update docs --- docs/ikev2-howto-zh.md | 2 +- docs/ikev2-howto.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ikev2-howto-zh.md b/docs/ikev2-howto-zh.md index 708167c..ef3514d 100644 --- a/docs/ikev2-howto-zh.md +++ b/docs/ikev2-howto-zh.md @@ -455,7 +455,7 @@ sudo chmod 600 ca.cer client.cer client.key 1. 单击 **Add** 保存 VPN 连接信息。 1. 启用 **VPN** 连接。 -另外,你也可以使用命令行连接。示例步骤请参见 [#1399](https://github.com/hwdsl2/setup-ipsec-vpn/issues/1399) 和 [#1007](https://github.com/hwdsl2/setup-ipsec-vpn/issues/1007)。 +另外,你也可以使用命令行连接。示例步骤请参见 [#1399](https://github.com/hwdsl2/setup-ipsec-vpn/issues/1399) 和 [#1007](https://github.com/hwdsl2/setup-ipsec-vpn/issues/1007)。如果你遇到错误 `Could not find source connection`,编辑 `/etc/netplan/01-netcfg.yaml` 并将 `renderer: networkd` 替换为 `renderer: NetworkManager`,然后运行 `sudo netplan apply`。要连接到 VPN,运行 `sudo nmcli c up VPN`。要断开连接:`sudo nmcli c down VPN`。 连接成功后,你可以到 [这里](https://www.ipchicken.com) 检测你的 IP 地址,应该显示为`你的 VPN 服务器 IP`。 diff --git a/docs/ikev2-howto.md b/docs/ikev2-howto.md index 83491b3..0ca9a1e 100644 --- a/docs/ikev2-howto.md +++ b/docs/ikev2-howto.md @@ -457,7 +457,7 @@ You can then set up and enable the VPN connection: 1. Click **Add** to save the VPN connection information. 1. Turn the **VPN** switch ON. -Alternatively, you may connect using the command line. See [#1399](https://github.com/hwdsl2/setup-ipsec-vpn/issues/1399) and [#1007](https://github.com/hwdsl2/setup-ipsec-vpn/issues/1007) for example steps. +Alternatively, you may connect using the command line. See [#1399](https://github.com/hwdsl2/setup-ipsec-vpn/issues/1399) and [#1007](https://github.com/hwdsl2/setup-ipsec-vpn/issues/1007) for example steps. If you encounter error `Could not find source connection`, edit `/etc/netplan/01-netcfg.yaml` and replace `renderer: networkd` with `renderer: NetworkManager`, then run `sudo netplan apply`. To connect to the VPN, run `sudo nmcli c up VPN`. To disconnect: `sudo nmcli c down VPN`. Once connected, you can verify that your traffic is being routed properly by [looking up your IP address on Google](https://www.google.com/search?q=my+ip). It should say "Your public IP address is `Your VPN Server IP`".