r/exchangeserver • u/J4NN7J0K3R • Dec 21 '25
Question Loadbalancing solution for Exchange-Servers
Hi,
we are running a Microsoft Exchange infrastructure behind a destination NAT load balancer and want to change to a software solution.
I discovered HAProxy and think it could be a possible solution for us, except for IMAP and SMTP in TCP mode because we can't see the correct source IP address in the IMAP and SMTP logs.
However, we can add the Forwarded-For HTTP header for IIS. Is there nothing equivalent for IMAP or SMTP, right?
Microsoft Exchange doesn't support the proxy protocol, if I'm not mistaken?
What can I do to get the correct IP address for the backend Microsoft Exchange servers?
Thanks in advance for your answers!!
View all comments
Show parent comment
2
u/timsstuff IT Consultant Dec 21 '25 edited Dec 21 '25
Kemps are great, the free one is limited to 20Mbps but the VLM-
5001G is only $2k for a perpetual license (last I checked) and $600/year after that to maintain a support agreement, which is necessary for upgrades.If X-Forwarded-For isn't sufficient and you need to log the client's actual IP, you can enable Source IP Transparency. Essentially you set the Exchange Servers' default gateway to the Kemp. Clients need to be on a different subnet though.
https://community.progress.com/s/article/Understanding-Transparency
Edit: VLM-1G is the current low end model.