Date: Tue, 26 Sep 2006 15:19:59 +0000 From: Josh Paetzel <josh@tcbug.org> To: freebsd-questions@freebsd.org Cc: vittorio <vdemart1@tin.it> Subject: Re: ipfw, ftp and wget Message-ID: <200609261519.59125.josh@tcbug.org> In-Reply-To: <200609262007.15800.vdemart1@tin.it> References: <200609262007.15800.vdemart1@tin.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 26 September 2006 20:07, vittorio wrote: > I'm using ipfw as firewall. > What rules should I add to use both wget and ftp from my box only > towards the internet through my iwi0? > > (I found the following lines for ftp but they don't seem to work: > .............................................................. > ipfw add 45 allow tcp from any to any 21 in setup keep-state > ipfw add 46 allow udp from any to any 21 in setup keep-state) > > Vittorio You want to allow traffic out. The keep state will take care of allowing responses back in. -- Thanks, Josh Paetzel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609261519.59125.josh>