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

Re: nfs and iptables



On Sun, May 18, 2008 at 05:26:05PM +1000, Owen Townend wrote:
> On 18/05/2008, Daniel Dalton <daniel.dalton@iinet.net.au> wrote:
> > Hi,
> >
> >  How can I allow nfs through my iptables firewall?
> >  What ports does it use?
> >  Are they static ports? And if not how can I make them static?
> >
> >  Thanks for any help.
> >
> >  Cheers,
> >
> >  --
> >  Daniel Dalton
> 
> Hey,
>   `rpcinfo -p` will give you a list of ports in use for rpc.
>   nfsd defaults to 2049 (overridable with `-p <port>`),
>   portmapper to 111 (static),
>   mountd and statd to portmap assigned ports (overridable with `-p
> <port>` and `-o <port>`).
> 
>   As services the ports can be set at /etc/default/nfs-kernel-server
> and /etc/default/nfs-common.

have a read here

http://wiki.debian.org/SecuringNFS


> 
> cheers,
> Owen.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
"We had a chance to visit with Teresa Nelson who's a parent, and a mom or a dad."

	- George W. Bush
09/09/2003
Jacksonville, FL

Attachment: signature.asc
Description: Digital signature


Reply to: