[CentOS] NFS and Firewall

Jim Perrin jperrin at gmail.com
Wed Oct 10 17:50:08 UTC 2007

On 10/10/07, Timothy Kesten <centos-lst at gmx.de> wrote:
> Hi Folks,
> I'm using VMWare on a Linux Host (CentOS) with a Linux-Guest Sidux).
> And I'd like to use NFS.
> Furthermore I'd like to use the Firewall in CentOS with this little GUI.
> If I activate this firewall then my Guest says "no route to host" on mounting
> nfs.
> Firewall disabled -> no problem occurs.
> Is there a solution to use firewall _and_ nfs ?
> Please, no iptables scripts.
> I'd like to use this small GUI for the firewall.

 Create the file "/etc/sysconfig/nfs" and add the following contents:


 Append the following to the file "/etc/services":

rquotad 4004/tcp # rpc.rquotad tcp port
rquotad 4004/udp # rpc.rquotad udp port

 Restart the nfs services

>From there, open these ports -> 111:tcp, 111:udp, 2049:tcp, 2049:udp,
4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp,

During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

More information about the CentOS mailing list