Hello Gareth I had a long time to find a solution for this tricky problem. If you want I can send you my rc.firewall.
Am Tue, May 11, 2004 at 05:13:14PM +0200 Gareth Bailey schrieb: > I have recently setup IPFW on my FreeBSD 5.2 Release > server. I am running natd to provide inet to 5 LAN users. > It also runs mail, apache web server amongst others. > > All seems to be working fine, except for FTP. > > The first two lines of my firewall file are: > > add 1000 allow tcp from any to any via ed0 out keep-state > add 1100 allow udp from any to any via ed0 out keep-state > > ... then later in the file: > > add 3600 allow tcp from any to me dst-port 21 in via ed0 > setup keep-state > > I thought this would be sufficient to establish and > maintain FTP connections. I read through the mailing lists > and it seems that FTP is tricky with IPFW and natd. > > Is there a simple solution to this problem? Can i just add > some other rule to my firewall? I read something about natd > punching through IPFW, is this the answer? > > Any information will be mouch appreciated. > > Thanks, > Gareth (IPFW newbie) > _____________________________________________________________________ > For super low premiums ,click here http://www.dialdirect.co.za/quote > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Regards, Martin Schweizer <[EMAIL PROTECTED]> PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239;
pgpBYfaPhlhSu.pgp
Description: PGP signature