KEMBAR78
NFS Server Ports To Add in Linux | PDF | Computers
0% found this document useful (0 votes)
19 views1 page

NFS Server Ports To Add in Linux

Uploaded by

Atish Dipankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

NFS Server Ports To Add in Linux

Uploaded by

Atish Dipankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

NFS server Ports to add in Linux

********************************************
Those ports should be open on server:

firewall-cmd --permanent --add-service=rpc-bind


firewall-cmd --permanent --add-service=mountd
firewall-cmd --permanent --add-port=2049/tcp
firewall-cmd --permanent --add-port=2049/udp
firewall-cmd --reload
Additional test 2049/NFS port for availability.

semanage port -l | grep 2049 - returns SELinux context and the service name
netstat -tulpen | grep 2049

systemctl enable rpcbind


systemctl enable nfs-server
systemctl enable nfs-lock
systemctl enable nfs-idmap
systemctl start rpcbind
systemctl start nfs-server
systemctl start nfs-lock
systemctl start nfs-idmap

firewall-cmd --permanent --add-service=rpc-bind


firewall-cmd --permanent --add-service=nfs

rpcinfo -p | grep nfs


systemctl restart nfs-server

You might also like