The rpc.statd and rpc.mountd utilities required for NFS mount are listening to 0.0.0.0 address.
tcp 0 0 0.0.0.0:32765 0.0.0.0:* LISTEN 25835/rpc.statd
tcp 0 0 0.0.0.0:32767 0.0.0.0:* LISTEN 2946/rpc.mountd
udp 0 0 0.0.0.0:32765 0.0.0.0:* 25835/rpc.statd
udp 0 0 0.0.0.0:32766 0.0.0.0:* 25835/rpc.statd
udp 0 0 0.0.0.0:32767 0.0.0.0:* 2946/rpc.mountd
While starting the rpc.statd there is one option as ( -n / --name ) to pass the hostname / IP address. But if we pass with the option and try to start the rpc.statd , still it listens to all ports instead of the hostname / Ip address specified in the option.
I would like to know what is ( -n ) option used for ? How do I make the rpc.statd and rpc.mountd listen to specific address instead of 0.0.0.0 which means allow all address.
Platform tested on : RHEL5.x
The rpc.statd and rpc.mountd utilities required for NFS mount are listening to 0.0.0.0 address.
tcp 0 0 0.0.0.0:32765 0.0.0.0:* LISTEN 25835/rpc.statd
tcp 0 0 0.0.0.0:32767 0.0.0.0:* LISTEN 2946/rpc.mountd
udp 0 0 0.0.0.0:32765 0.0.0.0:* 25835/rpc.statd
udp 0 0 0.0.0.0:32766 0.0.0.0:* 25835/rpc.statd
udp 0 0 0.0.0.0:32767 0.0.0.0:* 2946/rpc.mountd
While starting the rpc.statd there is one option as ( -n / --name ) to pass the hostname / IP address. But if we pass with the option and try to start the rpc.statd , still it listens to all ports instead of the hostname / Ip address specified in the option.
I would like to know what is ( -n ) option used for ? How do I make the rpc.statd and rpc.mountd listen to specific address instead of 0.0.0.0 which means allow all address.
Platform tested on : RHEL5.x