Securing the NFS Gateway
The HDFS NFS gateway uses the NFSv3 protocol, which lacks built-in cryptography. Additionally, Hadoop binds the NFS gateway server ports to a wildcard address (0.0.0.0), making it accessible to any host on any IP address. You must configure secure tunneling and restrict host access to encrypt the NFS communication.
Enabling the ENCRYPT_ALL_PORTS feature in Cloudera Manager displays a warning when an HDFS NFS Gateway is
configured. This warning alerts you that the NFS Gateway provides unencrypted access
to the HDFS cluster.
To encrypt NFS communication, configure secure tunneling directly on the gateway host outside Cloudera Manager. Because secure tunneling requires configuration on both the server and client sides, perform the following steps to secure the connection:
