I have a quite complicated network setup with multiple interfaces.
However, for the problem I want to describe the setup can be simplified to three interfaces: wan1, dmz1 and internal1.
Hosts connected to dmz1 have public IP addresses and NAT is not used.
Hosts connected to internal1 have private IP addresses and I want to use NAT on outgoing connections both to wan1 and to dmz1. And this does not work for me.
Wan1 is 149.156.6.58/30, dmz1 is 149.156.24.1/27, internal1 is 10.200.0.1/16. I want the NATed IP address on outgoing connections to be visible as 149.156.24.6, on both interfaces.
So I defined two IP pools, both containing the single address 149.156.24.6, one bound to interface wan1 and the other to dmz1.
When I activate NAT with the above IP pool on interface wan1, it works OK. I can connect to the Internet and connections are coming from 149.156.24.6.
However, I can' t get the same on interface dmz1. The connections simply don' t work, I get no response to pings.
When I use NAT without any IP pool on dmz1, it works and I see the connections coming from 149.156.24.1 - but that' s not what I want. I want the same address to be used on connections to both interfaces.
Do you know how to handle this problem?
My device is Fortigate-200A with FortiOS 3.00-b0744(MR7 Patch 6)