Firewall Redirect

Rob bitabyss at gmail.com
Fri Nov 30 07:39:30 PST 2007


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



More information about the freebsd-questions mailing list