nfs: sharing directory without running DNS

Joshua D. Abraham jabra at
Mon Aug 14 01:00:16 EDT 2006

On 13.Aug.2006 10:07PM -0400, Andrew Medico wrote:

> On 8/13/06, jbk <jbk at> wrote:
> >Andrew Medico wrote:
> >> I bet you have the Fedora firewall running on the NFS server. It's
> >> quite restrictive (it blocks any services you don't enable at install)
> >> and it does the blocking with the iptables command "-j REJECT
> >> --reject-with icmp-host-prohibited" which produces exactly the "No
> >> route to host" message you're seeing here.
> >>
> >Thanks I will look there, I have never edited the iptables
> >scripts, so is there a common script that will allow nfs? I
> >will re-enable it and see if there is a selection for nfs.
> The simplest way to test would be to stop the firewall on the server
> (/etc/init.d/iptables stop) and see if that helps. The firewall rules
> are stored in /etc/sysconfig/iptables. You can edit that directly, but
> I'm sure Fedora has a utility to do it for you.

I would recommend:

iptables --flush

This is more generic.

Joshua D. Abraham
Northeastern University
College of Computer and Information Science

More information about the Discuss mailing list