Article 54SP1 How to handle NFS and CIFS mount points when using firewall-cmd to set up firewall?

How to handle NFS and CIFS mount points when using firewall-cmd to set up firewall?

by
pclinux66
from LinuxQuestions.org on (#54SP1)
I'm new in this forum and also new in setting up firewall using firewall-cmd. I'm working on Oracle Linux 7 servers which have both NFS and CIFS mount points.

For example:

NFS mount point 10.40.100.20:/database
CIFS mount point //10.40.100.30/reports

Do I just add them in a zone like this:

firewall-cmd --zone=mountpoints --add-source=10.40.100.20
firewall-cmd --zone=mountpoints --add-source=10.40.100.30
firewall-cmd --zone=mountpoints --add-service=nfs
firewall-cmd --zone=mountpoints --add-service=samba

Thanks for any help.latest?d=yIl2AUoC8zA latest?i=M_LIVJ1uwWM:G3XChiXDTb0:F7zBnMy latest?i=M_LIVJ1uwWM:G3XChiXDTb0:V_sGLiP latest?d=qj6IDK7rITs latest?i=M_LIVJ1uwWM:G3XChiXDTb0:gIN9vFwM_LIVJ1uwWM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments