nfsd_server_flags="-h ipaddress" has no effect
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Aug 2025 14:57:12 UTC
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 --