Skip site navigation (1)Skip section navigation (2)
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: <http://docs.FreeBSD.org/cgi/mid.cgi?200609261519.59125.josh>