Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2025 17:23:04 +0100
From:      void <void@f-m.fm>
To:        freebsd-fs@freebsd.org
Subject:   [nfsd_server_flags="-h ipaddress" has no effect]
Message-ID:  <aLR26K3Urme6fHoD@int21h>

index | next in thread | raw e-mail

Hi,

(sorry, originally sent to -current, oops)

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
-- 



home | help

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