General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
nfs and ports
I'm trying to force the nfs services to bind to a specific port, so that I can open those ports on the firewall. I have the following services running:
mountd,
statd,
rquotad,
nlockmgr
I have used the -p with the rpc.mountd, and rpc.statd, but they revert back to a randopm port after I restart the nfs service. However, I don't know how to lock down the ports for rquotad and nlockmgr.
Here are my questions:1) What is the correct way of locking down the ports for mountd and statd, permanently? I have modified the /etc/init.d/nfs and
/etc/iinit.d/nfslock, and they work, but am not sure if that is the right way.
2) How do I lock down the ports for nlockmgr, and rquotad?
3) I also have a question regarding NFS over TCP. Where does that stand with nfs version 3? I am running 2.4.18 kernel. How do I configure my nfs server to use TCP instead of UDP?