IPFW & NFS

Chuck Swiger cswiger at mac.com
Wed Nov 22 10:22:53 PST 2006


vittorio wrote:
> I have two FreeBSD 6.1 boxes one of which (IP 10.0.0.1) is an NFS server and 
> the other one (IP 10.0.0.2) is, among other things, an NFS client sharing 
> directories with the NFS server.
> It all works correctly and I can mount_nfs all the directories from the 
> server.
> BUT, I'm now trying to use an IPFW firewall both on the server and on the 
> client. My simple aim is to setup connections between the 10.0.0.1 server and 
> the 10.0.0.2 client ** only **; no connections should be possible with other 
> clients!

You should probably use a permit all between .1 and .2, rather than trying to 
use stateful rules with RPC services which will run on arbitrarily chosen ports.

-- 
-Chuck


More information about the freebsd-questions mailing list