Re: [List] Re: [nfsd_server_flags="-h ipaddress" has no effect]

From: void <void_at_f-m.fm>
Date: Mon, 01 Sep 2025 15:43:35 UTC
On Mon, Sep 01, 2025 at 03:35:00PM +0100, Frank Leonhardt wrote:
>>
>Looking at source it's pretty normal looking and I don't think it's 
>particularly volatile, so I suspect you're on the right lines - it's 
>not getting the parameters you're setting for some external reason. 
>Which release are you using?

FreeBSD 15.0-CURRENT #0 main-n278917-233a26b5c5d7: Wed Aug 20 19:42:37 BST 2025

>Happy to cast my eyes on rc.conf if you'd care to send it. It's too 
>easy to get wrong in ways the creator will never spot.

thanks. /etc/rc.conf has this in the nfsd section

# nfs server
rpcbind_enable="YES"
rpcbind_flags="-h 192.168.1.100"
nfs_server_enable="YES"
nfsd_server_flags="-t -h 192.168.1.100"
mountd_enable="YES"

and /etc/defaults/rc.conf has nfsd_server_flags=""

in this config, nfsd isn't contactable externally (over TCP)
But it *is* contactable over UDP (why is that when expressly
set to run with -t)

But if /etc/defaults/rc.conf="-t" then nsfd *is* contactable externally.

It seems if anything is in the *default* it will imply -a and override whats
in /etc/rc.conf.

--