On 2013-12-31 7:30 AM, Tanstaafl <[email protected]> wrote:
I've made the following changes to the following config files:

/etc/conf.d/nfs

OPTS_RPC_MOUNTD="-p 32767"
OPTS_RPC_STATD="-p 32765 -o 32766"

I've also changed the lockd ports

/etc/sysctl.conf

# You should compile nfsd into the kernel or add it
# to modules.autoload for this to work properly
# TCP Port for lock manager
fs.nfs.nlm_tcpport = 4001
# UDP Port for lock manager
fs.nfs.nlm_udpport = 4001

But when I try to mount the remote filesystem, I see the outbound
request being blocked by the firewall.

If I open up the port in the firewall, it mounts immediately.

But after a reboot, the next time I try mounting it, some other random
port shows up in the firewall logs...

This can't be all that difficult... I must be missing something obvious.

 # rpcinfo -p
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32765  status
    100024    1   tcp  32765  status

Again, this system is NOT running an NFS SERVER, I am only trying to use the nfs CLIENT to mount a remote NFS share - so, is the above what I should expect to see? something tells me no...

Shouldn't the lockd ports be showing up to?

Reply via email to