0

NFS : how to create iptables rules

recently i have trying to configured nfs server/client configuration on centos. when i trying to mount the nfs share directory at client machine it shows connection refused error. i found solution to add some supporting TCP/UDP port on system firewall. am not familiar on iptables commands. so please share some ideas to configure iptable rule for nfs port. thank you wait for the reply.

NFS Iptables Add a comment
brayden
asked Oct 21 2017

Answer

0

try the below example to allow specific port into firewall...

iptables -A INPUT -p tcp -m tcp --dport 111 -j ACCEPT

Add a comment
parthiban
asked Oct 22 2017
edited Oct 05 2018
Post your Answer