[ previous ] [ next ] [ threads ]
 
 From:  "Lee Sharp" <leesharp at hal dash pc dot org>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] redirect
 Date:  Wed, 22 Mar 2006 20:23:19 -0600
From: "john papadeas" <zygos23 at yahoo dot com>

> anyone know how i can redirect any in/out traffic on a
> specific port to another gateway ?
> e.g. anything on port 80 will be redirected to another
> internet gateway and everything else wil remain on
> m0n0 internet gateway

Search the archives for this code.  I have talked about it a few times, and 
others as well.

                        Lee
 <nat>
 <rule>
  <protocol>tcp</protocol>
  <external-port>25</external-port>
  <target>192.168.1.5</target>
  <local-port>25</local-port>
  <interface>lan</interface>
  <descr>redirect SMTP to LAN SMTP server</descr>
 </rule>
 </nat>