Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2025 15:57:12 +0100
From:      void <void@f-m.fm>
To:        freebsd-current@freebsd.org
Subject:   nfsd_server_flags="-h ipaddress" has no effect
Message-ID:  <aLRiyCO6rA370BcX@int21h>

index | next in thread | raw e-mail

Hi,

On relatively recent -current (main-n278917-233a26b5c5d7 amd64)
I was alarmed to find that on a dual-NIC host that if nfsd
is enabled with the -h flag set, the port appears open on all 
NICs and not just the internal facing one.

This behaviour is in contrast to rpcbind_flags="-h 192.168.1.100"
which when set means rpcbind cannot be seen on the external-facing
interface when tested.

Is this expected?

I would have expected port 2047 to be inaccessible from outside the 
network if nfsd is bound with -h to an internal-only interface/ip address
-- 


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aLRiyCO6rA370BcX>