diff --git a/docs/clients-zh.md b/docs/clients-zh.md index 055e4c1..d17bcd6 100644 --- a/docs/clients-zh.md +++ b/docs/clients-zh.md @@ -167,7 +167,7 @@ VPN 连接成功后,网络状态图标上会出现 VPN 指示。最后你可 Ubuntu 18.04 (和更新版本)用户可以安装 network-manager-l2tp-gnome 软件包,然后通过 GUI 配置 IPsec/L2TP VPN 客户端。Ubuntu 16.04 和 14.04 用户可能需要添加 `nm-l2tp` PPA,参见 这里。 -1. 进入设置 -> 网络 -> VPN。单击 **+** 按钮。 +1. 进入 Settings -> Network -> VPN。单击 **+** 按钮。 1. 选择 **Layer 2 Tunneling Protocol (L2TP)**。 1. 在 **Name** 字段中输入任意内容。 1. 在 **Gateway** 字段中输入`你的 VPN 服务器 IP`。 @@ -182,7 +182,28 @@ Ubuntu 18.04 (和更新版本)用户可以安装 这里 检测你的 IP 地址,应该显示为`你的 VPN 服务器 IP`。 + +### Fedora 和 CentOS + +Fedora 28 (和更新版本)和 CentOS 7 用户可以安装 NetworkManager-libreswan-gnome 软件包,然后通过 GUI 配置 IPsec/L2TP VPN 客户端。 + +1. 进入 Settings -> Network -> VPN。单击 **+** 按钮。 +1. 选择 **IPsec based VPN**。 +1. 在 **Name** 字段中输入任意内容。 +1. 在 **Gateway** 字段中输入`你的 VPN 服务器 IP`。 +1. 在 **Type** 下拉菜单选择 **IKEv1 (XAUTH)**。 +1. 在 **User name** 字段中输入`你的 VPN 用户名`。 +1. 右键单击 **User password** 字段中的 **?**,选择 **Store the password only for this user**。 +1. 在 **User password** 字段中输入`你的 VPN 密码`。 +1. 保持 **Group name** 字段空白。 +1. 右键单击 **Secret** 字段中的 **?**,选择 **Store the password only for this user**。 +1. 在 **Secret** 字段中输入`你的 VPN IPsec PSK`。 +1. 保持 **Remote ID** 字段空白。 +1. 单击 **Add** 保存 VPN 连接信息。 1. 启用 **VPN** 连接。 VPN 连接成功后,你可以到 这里 检测你的 IP 地址,应该显示为`你的 VPN 服务器 IP`。 diff --git a/docs/clients.md b/docs/clients.md index 1c928d5..b1765ba 100644 --- a/docs/clients.md +++ b/docs/clients.md @@ -187,6 +187,27 @@ Ubuntu 18.04 (and newer) users can install the looking up your IP address on Google. It should say "Your public IP address is `Your VPN Server IP`". +### Fedora and CentOS + +Fedora 28 (and newer) and CentOS 7 users can install the NetworkManager-libreswan-gnome package, then configure the IPsec/L2TP VPN client using the GUI. + +1. Go to Settings -> Network -> VPN. Click the **+** button. +1. Select **IPsec based VPN**. +1. Enter anything you like in the **Name** field. +1. Enter `Your VPN Server IP` for the **Gateway**. +1. Select **IKEv1 (XAUTH)** in the **Type** drop-down menu. +1. Enter `Your VPN Username` for the **User name**. +1. Right-click the **?** in the **User password** field, select **Store the password only for this user**. +1. Enter `Your VPN Password` for the **User password**. +1. Leave the **Group name** field blank. +1. Right-click the **?** in the **Secret** field, select **Store the password only for this user**. +1. Enter `Your VPN IPsec PSK` for the **Secret**. +1. Leave the **Remote ID** field blank. +1. Click **Add** to save the VPN connection information. +1. Turn the **VPN** switch ON. + +Once connected, you can verify that your traffic is being routed properly by looking up your IP address on Google. It should say "Your public IP address is `Your VPN Server IP`". + ### Other Linux First check here to see if the `network-manager-l2tp` and `network-manager-l2tp-gnome` packages are available for your Linux distribution. If yes, install them (select strongSwan) and follow the instructions above. Alternatively, you may [configure Linux VPN clients using the command line](#configure-linux-vpn-clients-using-the-command-line).