Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 08:39:08 -0400 (EDT)
From:      Jaime <jaime@snowmoon.com>
To:        Andrew Thomson <ajthomson@optushome.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: restrictive ipfw ruleset and ftp
Message-ID:  <20030617083743.G94567@malkav.snowmoon.com>
In-Reply-To: <20030617121346.GA80594@athomson.prv.au.itouchnet.net>
References:  <20030617121346.GA80594@athomson.prv.au.itouchnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Jun 2003, Andrew Thomson wrote:
> how can i handle passive ftp though?
>
> i can let 21 out, but when the remote ftp server says use this x high
> port.. i block that because it's not in my list. so what can i do to get
> around this..

	IIRC, FTP sends its replies on TCP port 20.  I can't recall if
that is port 20 on the remote or local host, though.  A little
experimentation and you'll probably figure it out.  (hint:  netstat -nf
inet)

						Good luck,
						Jaime



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030617083743.G94567>