specify nfs lockd port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have tried to specify all nfs ports (for iptables), using
the simple way in /etc/sysconfig/nfs:

STATD_PORT=3330
LOCKD_TCPPORT=3331
LOCKD_UDPPORT=3331
MOUNTD_PORT=3332
RQUOTAD_PORT=3333

this works fine for all but for LOCKD:

the port is correctly added to (by /etc/init.d/nfs)
$ cat /proc/sys/fs/nfs/nlm_tcpport
3331

but "rpcinfo -p" shows a port above 32000 (after reboot)!

If I add the following line to /etc/modprobe.conf :
options lockd nlm_udpport=3331 nlm_tcpport=3331

all works as expected!

What am I doing wrong?

--
mfg
Herbert Gasiorowski
http://www.mathematik.uni-marburg.de/~gasi/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux