Thomas Mullaly

DevOps, Security and IT Leadership

Ossec NFS Statd Static Port

First edit /etc/default/nfs-common and add:

STATDOPTS="--port 4000 --outgoing-port 4001"

Next add the file /etc/modprobe.d/options.conf

options lockd nlm_udpport=4002 nlm_tcpport=4002

reboot and you should be good