How to make a mutli-homed host use one IP for a NAT'ed host

Greg Cope gregcope at
Thu Apr 21 08:52:27 CEST 2005

Hi All,

I have a mutli-homed router/firewall.

One IP address is the default router gateway address

Three other (virtual) IP's are for applications (one of which is SMTP).

My mailserver is on a NAT'ed DMZ.

However when it sends mail the router uses the default gateway address
as opposed to the SMTP IP address.

This upsets reverse DNS lookups as it now appears to come from the
router as opposed to the mail IP (that has the correct reverse IP
address lookup).

Any ideas?


More information about the netfilter mailing list