PortGate

Resources · Port reference · port 2049

Port 2049 (NFS): what it is and how to secure it

NFS exports trust the client address.

Check command

ss -tulpn | grep 2049

Copied.

Do not export to the internet. If two private hosts must share a disk, restrict the export to those addresses and use root_squash.

ss -tulpn | grep 2049

A 0.0.0.0 or :: address is a public listener. 127.0.0.1 is local.