Skip to main content
rcpdkc
Explorer II
Oct 31, 2025 12:15 AM UTC
Solved

Fortigate Gateway NAT Problem

I have a Fortigate firewall. The management IP block is 172.16.1.1/24.

Fortianalyzer(172.16.1.10) is in this range.. I have an SMTP server, and only the IP address 192.168.1.100 is allowed to access it. I can access the SMTP server by NAT my 172.16.1.10 server. However, I cannot access the SMTP server using the Fortigate management interface (172.16.1.1). NAT is not working.

funkylicious
SuperUser
Nov 1, 2025 10:26 AM UTC

try adding this ip either as a secondary on a existing interface in root vdom or create a loopback and assign it that IP and see if that works.

"jack of all trades, master of none"

8 replies

funkylicious
SuperUser
SuperUser
Oct 31, 2025 6:21 AM UTC
rcpdkc
rcpdkcAuthor
Explorer II
Nov 1, 2025 9:56 AM UTC

I entered the management interface IP address as the source IP. I also added the NAT rule, but it still isn't NAT.

Translate
funkylicious
SuperUser
SuperUser
Nov 1, 2025 9:58 AM UTC

local originating traffic from the FGT isnt subject to NAT, only for traffic passing through.

just try to enter as source the IP that is allowed on the remote SMTP, see if it works.

Translate
"jack of all trades, master of none"
ElwinBERRAR
Explorer III
Nov 1, 2025 11:42 AM UTC

The error means the IP you’re trying to use isn’t assigned to any interface in the root VDOM. You’ll need to use an IP that actually belongs to an interface in that VDOM, or create a loopback and assign it there first.

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024