From 8277b21660f9ecf1916d2447ae125e0ed4730a78 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Thu, 9 Sep 2021 01:04:07 -0500 Subject: [PATCH] Update docs --- docs/advanced-usage-zh.md | 2 ++ docs/advanced-usage.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/advanced-usage-zh.md b/docs/advanced-usage-zh.md index b625c5e..ee59cbd 100644 --- a/docs/advanced-usage-zh.md +++ b/docs/advanced-usage-zh.md @@ -190,6 +190,8 @@ Libreswan 4.2 和更新版本支持 `ikev1-policy` 配置选项。使用此选 如果你想要在安装后更改 IPTables 规则,请编辑 `/etc/iptables.rules` 和/或 `/etc/iptables/rules.v4` (Ubuntu/Debian),或者 `/etc/sysconfig/iptables` (CentOS/RHEL)。然后重启服务器。 +**注:** 如果使用 Rocky Linux, AlmaLinux 或者 CentOS/RHEL 8 并且在安装 VPN 时 firewalld 正在运行,则可能已配置 nftables。在这种情况下,编辑 `/etc/sysconfig/nftables.conf` 而不是 `/etc/sysconfig/iptables`。 + ## 授权协议 版权所有 (C) 2021 [Lin Song](https://github.com/hwdsl2) [![View my profile on LinkedIn](https://static.licdn.com/scds/common/u/img/webpromo/btn_viewmy_160x25.png)](https://www.linkedin.com/in/linsongui) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 5e91c88..80619e0 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -191,6 +191,8 @@ To set up an IKEv2-only VPN, first install the VPN server and set up IKEv2 using If you want to modify the IPTables rules after install, edit `/etc/iptables.rules` and/or `/etc/iptables/rules.v4` (Ubuntu/Debian), or `/etc/sysconfig/iptables` (CentOS/RHEL). Then reboot your server. +**Note:** If using Rocky Linux, AlmaLinux or CentOS/RHEL 8 and firewalld was active during VPN setup, nftables may be configured. In this case, edit `/etc/sysconfig/nftables.conf` instead of `/etc/sysconfig/iptables`. + ## License Copyright (C) 2021 [Lin Song](https://github.com/hwdsl2) [![View my profile on LinkedIn](https://static.licdn.com/scds/common/u/img/webpromo/btn_viewmy_160x25.png)](https://www.linkedin.com/in/linsongui)