[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NFS und iptables-Firewall



Hallo,

Christian Wolf wrote:

> Nun verwendet NFS aber den portmapper. D.h. dass NFS keinen statischen Port 
> hat, sondern einen zugewiesen bekommt.
> Will ich nun einem internen Rechner den Zugang zu NFS erlauben, muss ich ALLE 
> Ports öffnen - nicht ganz das was ich eigentlich wollte.
> 
> Was kann ich hier tun? Kann ich z.B. NFS auf einen Port fest "binden"? Oder 
> gibt es sonst eine Mgl, die FW entsprechend zu öffnen?


 $ grep -A 2 rpc.mountd /etc/default/nfs-kernel-server 

 # Options for rpc.mountd.
 # If you have a port-based firewall, you might want to set up
 # a fixed port here using the --port option. For more information, 
 # see rpc.mountd(8) or http://wiki.debian.org/?SecuringNFS
 RPCMOUNTDOPTS=

hth, 

Wolf
-- 
Of all the animals, man is the only one that is cruel. He is the only one that 
inflicts pain for the pleasure of doing it. (Mark Twain, "The Lowest Animal")


Reply to: