centos7安装nfs服务并开启防火墙防护
一、安装nfs服务yum install nfs-utils rpcbind -ysystemctl start rpcbindsystemctl enable rpcbindsystemctl start nfssystemctl enable nfs二、只允许指定ip访问vim /etc/exports/mnt 192.168.0.191(rw,no_root_squash,sync,insecure)内网穿透的只能是localhost三、设置防火墙vim
原创
2022-05-27 18:58:58 ·
2163 阅读 ·
0 评论