I have the Fortinet 60D firewall set up with NAT. My mail server, however, is seeing every user get reported as coming from the gateway IP address, instead of the IP address they are actually coming from.
Why? Is there some setting I might have wrong here? It seems the inbound IPs should be reported correctly.
Suggestions appreciated as this is causing serious issues with my mail server.
Brian
The policy that points the traffic inward to your email server should have NAT turned off.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
That worked for the inbound IPs, thanks.
Now I notice that the servers that have a local IP, and are sending mail to another server that has a local IP, are showing the gateway IP address reported in the logs. I would think they would report their own local IP address, not the IP of the gateway. Or they would report their public IP. Having the gateway IP reported is problematic.
Is there a similar tweak I can make for this?
Thanks, Brian
If you are accessing those other servers by public DNS name, then the traffic is exiting the FGT via the NAT policy and coming back in, hence the gateway address. The only way around it is to have your inside servers use a different DNS zone, pointing the public names to the private IP addresses.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1747 | |
1114 | |
764 | |
447 | |
241 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.