Bug 296550 - NFS4 server resvport/noresvport /etc/export options
Summary: NFS4 server resvport/noresvport /etc/export options
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-fs (Nobody)
URL:
Keywords: feature
Depends on:
Blocks:
 
Reported: 2026-07-06 08:39 UTC by Lionel Cons
Modified: 2026-07-06 16:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lionel Cons 2026-07-06 08:39:35 UTC
I would be preferable to have a resvport (and noresvport) export
option on a per-export basis to choose whether mounts from UDP/TCP
ports >= 1024 are allowed or not, overriding any kernel default.

While it is desired to keep the current default, it might be useful to
allow UDP/TCP ports on a per-export basis to make access from systems
behind NAT (e.g. VMs) easier.

This mirrors the same "resvport" export option as found in
Solaris/Illumos, and the "insecure" export option as found in Linux.
Comment 1 Lionel Cons 2026-07-06 08:40:41 UTC
Example use case is mounting NFSv4.2 filesystems on a VM which is behind a layer of one or more NAT.