[Dovecot] Log NAT IP address?

Jack Bates jbates at brightok.net
Sun Sep 30 17:33:14 EEST 2012


On 9/30/2012 8:02 AM, Charles Marcus wrote:
> Hi Timo/everyone,
>
> Currently we are logging the remote IP, but is there a way to show the 
> IP address that the NAT connection is coming from?
>
> The reason I ask is, we are changing ISPs, and I would like to see in 
> the logs when an external connection is coming from our OLD ISP 
> connection, and when it is coming through our new one.
>
> We have a Watchguard firewall, and I have both External connections 
> setup and working, and have just pointed our DNS records to the new 
> public IP, and would like to be able to see which WAN connection/IP 
> they are coming from.

You could bind 2 internal IP Addresses to the server and have each NAT 
translation go to a different internal IP.

Jack



More information about the dovecot mailing list