QUOTE (yossarian @ Mar 17 2008, 12:58 PM)

OK, after I chose the "No Firewall" option I could ping, but ticking the "Echo request" alone was not enough. Anyway, even after the ping is enabled, I still don't see PC1 from PC2. Either I'm doing something fundamental wrongly, or something is mis-congfigured in (at least) one of my systems.
Portmapper and NFS are difficult to secure using any kind of port-based rules because Portmapper will dynamically assign ports for use. The NFS server configuration file
/etc/sysconfig/nfs-server provides some guidance on the issue but I
know that there used to be a more definitive document somewhere within the file system (e.g.,
/usr/share/doc) but I can't find it right now.
Maybe I'm thinking of Mandriva 2007...[When the
Gentoo Wiki is restored] Take a look at the
Gentoo NFS HOWTO for a better idea of how to define the ports that Portmapper assigns to NFS. I believe that these variables are fairly universal. [In the mean time,
Google has the HOWTO cached.]
From PC1 execute the following command
as root...
CODE
rpcinfo -p localhost
This command should return a list of ports used by NFS. If it does not, NFS is not running. You'll need to dig around to find out why. If NFS
is running, execute the following command from PC1
as root...
CODE
showmount -e localhost
This command should return a list of NFS exports. If it does not, the problem resides with the NFS configuration on PC1. Please post the contents of your /etc/exports file. If NFS
is running and correctly exporting directories, execute the following command from PC2
as root...
CODE
showmount -e 192.168.1.101
This command should return a list of NFS exports. If it does not, the problem resides with the firewall configuration on PC1.