[ previous ] [ next ] [ threads ]
 From:  "Chris Buechler" <cbuechler at gmail dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Email getting sent from Wrong IP
 Date:  Thu, 14 Aug 2008 22:10:47 -0400
On Thu, Aug 14, 2008 at 7:59 PM, Tom Wiebe <tom dot wiebe at gmail dot com> wrote:
> Hi there,
> I've got a m0n0wall setup, 1.234, with multiple public IP's using Server
> NAT. Everything's working great except I've noticed that when our email
> server sends a message uninitiated, it gets sent out from the interface
> address, instead of the IP of the mailserver (which is defined in Server NAT
> and used in the incoming NAT and Firewall rules).
> I remember having this issue years and years ago but, can't recall the
> solution, although I'm pretty sure it was dead simple.
> So, how do I make outgoing connections go out from the IP I desire, as
> opposed to the default IP on the m0n0wall?

Outbound NAT, or 1:1 NAT depending on how you want it to work. If that
additional IP is only for the mail server, use 1:1 NAT, otherwise use