Firewall Redirect

CyberLeo Kitsana cyberleo at
Sat Dec 1 18:30:17 PST 2007

Lucas Neves Martins wrote:
>    422  ipfw add 950 divert 8082 tcp from any to any 80 via em0


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 tcp from "${luser}" to any 80 in recv fxp0

Fuzzy love,
Technical Administrator
CyberLeo.Net Webhosting
<CyberLeo at CyberLeo.Net>

Furry Peace! -

More information about the freebsd-questions mailing list