I need help please: I have fortigate 601e firmware v6.2.3 my problem is the traffic that comes from the FortiGate is going outside the GOOGLE DNS, use the dot interface IP address point -to-point for more security I want to use the Nat service for this type of traffic. I can't find how. can someone help me please?
Hi Soufian
You can specify on CLI the source interface & IP that is used when sending DNs request.
config system dns
set source-ip x.x.x.x
my fortigate sends traffic with a source ip of the interface which is connected to the WAN. I want to do a nat for this source ip address.
example of source ip address:
source ip 195.12.5.3 i want to make for this address that uses for local fortigate traffic a NAT to hide it
Thanks
Hi Soufian
I don't know a way to NAT FGT's self generated traffic like we can do on PAN.
The only way to do in your case is "set source-ip" for dns config as explained already.
Hey Soufian,
you can define source IPs in FortiGate for traffic that it generates and sends itself.
For example, for DNS traffic:
config system dns
set source-ip <IP>
end
This causes the FortiGate to send out traffic with the specified source IP to the external DNS servers when it needs to do a DNS lookup.
You can set source IPs via CLI for a lot of config items; you would need to know why FortiGate speaks to google DNS (DNS server settings, link-health-monitors, etc), and set source IPs in the corresponding CLI config.
Thanks so much :D that its work :D
Great to hear :)
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 |
---|---|
1741 | |
1109 | |
755 | |
447 | |
240 |
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.