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 to specify 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
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 GUI as well:
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.