Files
nfsclient_win95_win98/docs/SECURITY.md

893 B

Security Notes

NFSv3 with AUTH_SYS is not a modern security boundary. The client tells the server which UID/GID it wants to use, and the server trusts network placement and export rules.

Use a gateway design:

legacy PC -> gateway -> modern storage/service

Gateway controls:

  • host firewall permits NFS only from approved legacy IPs
  • static DHCP reservation for the old PC
  • dedicated export path, no shared home directories
  • read-only export unless writes are necessary
  • no inbound NFS from the rest of the LAN
  • logs for mount and file access

Example Linux export:

/srv/retro 192.168.50.20(ro,sync,no_subtree_check,all_squash,anonuid=65534,anongid=65534)

Example nftables idea:

allow tcp dport {111,2049,mountd-port} from 192.168.50.20
drop tcp dport {111,2049,mountd-port}

Pin mountd/statd/lockd ports if you need firewall predictability.