Date: Wed, 19 Sep 2001 13:20:32 +0200 From: "Karsten W. Rohrbach" <karsten@rohrbach.de> To: "Chutima S." <chutima_s@zdnetonebox.com> Cc: freebsd-security@FreeBSD.ORG, chutima@infoquest.co.th Subject: Re: How to config ipfw for ftp server Message-ID: <20010919132032.F52106@mail.webmonster.de> In-Reply-To: <20010919062757.RNAO7831.mta04.onebox.com@onebox.com>; from chutima_s@zdnetonebox.com on Tue, Sep 18, 2001 at 11:27:56PM -0700 References: <20010919062757.RNAO7831.mta04.onebox.com@onebox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--QXO0/MSS4VvK6f+D Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Chutima S.(chutima_s@zdnetonebox.com)@2001.09.18 23:27:56 +0000: > I try to config ipfw fot outside world can ftp to ftp server in internal > network (real IP but behide my firewall). I config as: >=20 > ipfw add pass tcp from any to <ftpserver> 21 setup >=20 > I test by ftp from Internet world. I can login to ftpserver but can > not open data connection for get or list files in folder. Is it concern > about passive mode or ftp-data port (20)? you probably want to check out ipfilter in conjunction with ipnat which maps ftp requests through an in-kernel stateful proxy which opens and closes the port pair rules for established ftp sessions' data connections via state table entries. check out the ipfilter docs for more info. /k --=20 > "I think pop music has done more for oral intercourse than anything else > that has ever happened, and vice versa." --Frank Zappa KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.n= et/ karsten&rohrbach.de -- alpha&ngenn.net -- alpha&scene.org -- catch@spam.de GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 B= F46 Please do not remove my address from To: and Cc: fields in mailing lists. 1= 0x --QXO0/MSS4VvK6f+D Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7qH+AM0BPTilkv0YRAu1CAJ9xrzF5h85OWDoRMFFnC7oY1YkVXwCbBd3s UXQTUm4sHz4U4NPxKG/KJXI= =woBl -----END PGP SIGNATURE----- --QXO0/MSS4VvK6f+D-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010919132032.F52106>