Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2007 10:39:30 -0500
From:      Rob <bitabyss@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Firewall Redirect
Message-ID:  <47502EB2.4010007@gmail.com>
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:
> Redirect requests from the port 80, to the port 8082. - for apache tomcat.
> [[snip]]
>    422  ipfw add 950 divert 8082 tcp from any to any 80 via em0
>    425  ipfw add 950 divert 8082 tcp from any to any 80 via em0
>    428  ipfw add 950 divert 80 tcp from any to any 8082 via em0

It's not as "clean" as doing it with ipfw, but there a port redirect utilty in ports/net/redir that might do might accomplish what you want.

  -RW




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47502EB2.4010007>