restrictive ipfw ruleset and ftp

Jaime jaime at
Tue Jun 17 05:39:12 PDT 2003

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

						Good luck,

More information about the freebsd-questions mailing list