AMP AMP
AMP
0
AMP

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
a sample image
brayden
asked Oct 21 2017

Answer

AMP
0
AMP

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

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

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