Created on
‎05-28-2010
02:35 AM
Edited on
‎11-19-2025
10:42 PM
By
Jean-Philippe_P
| Description | This article describes how to change the source interface IP that the FortiGate will use when sending TCP/UDP packets to the following log, trap, or alarm receivers. |
| Scope | FortiOS v6.0 and above. |
| Solution |
By default, the source IP is the one from the FortiGate egress interface. This feature allows, for example, specifying a loopback address as the source IP:
This feature is available only in the CLI.
config system snmp community For SNMP v3: config system snmp user
A sniffer trace allows to verify the source IP of the packets sent:
4.030647 internal out 10.160.10.1.162 -> 10.160.0.171.162: udp 112
From v7.0.0 and later, local out routing can be modified in the GUI as well:
CLI: config system global
Related articles: Technical Tip : Configuring and using a loopback interface on a FortiGate Technical Tip: How a FortiManager can manage a FortiGate via Redundant WAN interfaces |
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.