[Bug 287977] ZFS NFS exports allows mounts by clients not in the list of /etc/exports (though the files are inaccessible anyway)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Jul 2025 13:47:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287977

--- Comment #2 from Rick Macklem <rmacklem@FreeBSD.org> ---
Btw, if all your exports were to the same
subnet, that subnet could be put on the "V4:"
line and then the NFSv4 mounts would probably
fail.

I think you can specify multiple "V4:" lines
with different subnets.

Try replacing:
V4: /exports

with:
V4: /exports -network 10.10.50.0/24
V4: /exports -network 192.168.200.0/24

I am not sure if this will work, but worth
a try. If it doesn't work, that does seem like
a bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.