Help with NFS, portmapper and iptables
I am running Slack 10.0 and have set everything up the way I wanted with much ease. Although when I implemented the iptables firewall, NFS gave me some problems due to portmapper using random assigned ports. I used fwbuilder on another machine to build and install the iptables script and I now need to know how get NFS to work with iptables. As it is now, TCP/UDP ports 2049 and 111 are open for NFS, they are for nfsd and sunrpc (or portmapd). I have read about assigning ports for statd, lockd, and mountd but do not know if this is the best and only way. If this is the only way o get things working, then I need to learn where and how to point them, mainly lockd (nfslockmgr in rpcinfo) to use a set port. Right now, the only way to get past this issue is to manually open each port after a 'rpcinfo -p'. Another suggestion has been made to allow all traffic from the nfs client.....I don't think so.