NFSv4 Server and Remote Client Access
Two machines, one team directory. Export it from server1 to the client only, with root squashed, open the firewall for exactly that, mount it on the client, and prove who can write what.
Skill labintermediate~45 minPro
What you'll do
- ✓Export a directory over NFSv4 to a named client with root squashing
- ✓Open firewalld for the NFS service, runtime and permanent
- ✓Mount the export on the client and read the mount table
- ✓Show that identity travels as numbers and that root is squashed
- ✓Persist the client mount in fstab with _netdev
Lab outline
- 01Two machines, one team
- 02Serve it from server1
- 03Use it from the client
Before you start
- firewalld zones and services
- fstab and findmnt
- Users and groups
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.