Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I make NFS connection secure? Remote server is on the internet, and not in local network. The server has no firewall and connected to internet directly.

share|improve this question
up vote 3 down vote accepted

You could tunnel it through SSH.

  • Here is a guide for NFS4.
  • Here is a guide for NFS3.
share|improve this answer

The server has no firewall

If the remote system is not secure (and an absence of any firewalling makes that decidedly suspect) then its doesn't matter what you do to your connection - you can't be confident of security. This is particularly true for an NFS server where authentication is not tied into the underlying protocol.

If you're assertions are correct (which I find astonishing) then find out who configured the server this way and shoot them before they can do any more harm.

If you need access to NFS across the internet, use a VPN (IPSEC, SSL tunnel, SSH tunnel, even pptp) and BLOCK all direct internet access (other than the secure connection) on the server.

share|improve this answer
"shoot them"? really? – ThatGraemeGuy Mar 8 '11 at 11:56
Oh I configured my machine myself. I'm newbie on service server, and starting practical service. Please forgive me :) I agree that no firewall is incredibly BAD configuration. I couldn't thought about protocol without authentication like NFS will serve anyone who can connect the machine. Thanks. – Eonil Mar 9 '11 at 2:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.