ipfw, ftp and wget
Josh Paetzel
josh at tcbug.org
Tue Sep 26 13:21:30 PDT 2006
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
More information about the freebsd-questions
mailing list