[CentOS] firewall setup for nfs

Tue Aug 4 14:35:40 UTC 2009
Jerry Geis <geisj at pagestation.com>

>
> Hi, 
>
> you also need to add portmapper ( port 110 ) and lock the following ports
> preventing portmapper to assign random ports
>
> Uncomment the following in /etc/sysconfig/nfs and make sure the portmapper
> is restarted.
>
> RQUOTAD_PORT=875
> LOCKD_TCPPORT=32803
> LOCKD_UDPPORT=32769
> MOUNTD_PORT=892
> STATD_PORT=662
>
> Choose ports as you like and add them in the firewall.
>
> Met vriendelijke groet / With kind regards,
> Bob Tito
>
>   
Thanks bob -

actually I just needed to restart portmap. THe /etc/sysconfig/nfs
only had

# Path to remote quota server. See rquotad(8)
#RQUOTAD="/usr/sbin/rpc.rquotad"
# Port rquotad should listen on.
#RQUOTAD_PORT=875
# Optinal options passed to rquotad
#RPCRQUOTADOPTS=""
RQUOTAD="no"

Thanks,

Jerry