From 81744310a956183be1c545940d3a8c26ce68c9d9 Mon Sep 17 00:00:00 2001 From: "lion.chan" Date: Sat, 30 May 2020 09:36:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E9=98=B2=E7=81=AB=E5=A2=99?= =?UTF-8?q?=E9=85=8D=E7=BD=AE.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lion.chan --- Software/Applications/NFS/NFS_服务安装和配置.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Software/Applications/NFS/NFS_服务安装和配置.md b/Software/Applications/NFS/NFS_服务安装和配置.md index caa4618..0538974 100644 --- a/Software/Applications/NFS/NFS_服务安装和配置.md +++ b/Software/Applications/NFS/NFS_服务安装和配置.md @@ -59,6 +59,15 @@ sudo systemctl stop nfs-server sudo systemctl disable nfs-server ``` +## 防火墙配置 + +```sh +firewall-cmd --permanent --zone public --add-service mountd +firewall-cmd --permanent --zone public --add-service rpc-bind +firewall-cmd --permanent --zone public --add-service nfs +firewall-cmd --reload +``` + ## 挂载 NFS 文件系统 ```bash