[root@prod-stage-nfs-server ~]# systemctl restart firewalld.service[root@prod-stage-nfs-server ~]# firewall-cmd --permanent --add-service={nfs,nfs3,rpc-bind,mountd}Warning: INVALID_SERVICE: 'nfs3' not among existing servicessuccess[root@prod-stage-nfs-server ~]# firewall-cmd --reloadsuccess[root@prod-stage-nfs-server ~]# firewall-cmd --list-allpublic (active)target: defaulticmp-block-inversion: nointerfaces: eth0sources:services: ssh dhcpv6-client nfs rpc-bind mountdports:protocols:masquerade: noforward-ports:source-ports:icmp-blocks:rich rules:[root@prod-stage-nfs-server ~]#
https://www.cnblogs.com/BloodZero/p/4783578.html
echo 'mountd:10.82.100.108' >> /etc/hosts.allow
echo 'mountd:all' >> /etc/hosts.deny
