Date: Sat, 01 Dec 2007 20:03:28 -0600 From: CyberLeo Kitsana <cyberleo@cyberleo.net> To: Lucas Neves Martins <snowniak@gmail.com> Cc: questions@FreeBSD.org Subject: Re: Firewall Redirect Message-ID: <47521270.80107@cyberleo.net> In-Reply-To: <49eaeb190711300559u34557d6bha38a72d84a65caca@mail.gmail.com> References: <49eaeb190711300559u34557d6bha38a72d84a65caca@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Lucas Neves Martins wrote:
> 422 ipfw add 950 divert 8082 tcp from any to any 80 via em0
Hi!
I do something similar, except with a small home-grown server used to
serve 'You are banned' pages to people who insist on driving my poor
little webserver into swap.
The directive you're looking for is 'fwd'.
ipfw add 44001 fwd 127.0.0.44 tcp from "${luser}" to any 80 in recv fxp0
--
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>
Furry Peace! - http://wwww.fur.com/peace/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47521270.80107>
