From 43dbac6c3cb1580c728ba9246128c5269a53ed7d Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sun, 11 Feb 2018 00:37:00 -0600 Subject: [PATCH] Update docs --- docs/ikev2-howto-zh.md | 29 ++++++++++++++++++++++------- docs/ikev2-howto.md | 27 +++++++++++++++++++++------ docs/manage-users-zh.md | 4 ++-- docs/manage-users.md | 2 +- 4 files changed, 46 insertions(+), 16 deletions(-) diff --git a/docs/ikev2-howto-zh.md b/docs/ikev2-howto-zh.md index 894ee5a..b2fdd28 100644 --- a/docs/ikev2-howto-zh.md +++ b/docs/ikev2-howto-zh.md @@ -47,8 +47,6 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来 rightaddresspool=192.168.43.10-192.168.43.250 rightca=%same rightrsasigkey=%cert - modecfgdns1=8.8.8.8 - modecfgdns2=8.8.4.4 narrowing=yes dpddelay=30 dpdtimeout=120 @@ -62,22 +60,39 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来 EOF ``` - 还需要在该文件中添加一行,首先查看你的 Libreswan 版本: + 还需要在该文件中添加一些行。首先查看你的 Libreswan 版本: ```bash $ ipsec --version ``` - 对于 Libreswan 3.19 或以上版本,请运行: + 对于 Libreswan 3.23 或更新版本,请运行: ```bash - $ echo " encapsulation=yes" >> /etc/ipsec.conf + $ cat >> /etc/ipsec.conf <> /etc/ipsec.conf + $ cat >> /etc/ipsec.conf <> /etc/ipsec.conf <> /etc/ipsec.conf + $ cat >> /etc/ipsec.conf <> /etc/ipsec.conf <> /etc/ipsec.conf + $ cat >> /etc/ipsec.conf <