Description | This article describes the command needed to source SNMP traffic from FortiGate using an internal address routable in the IPsec VPN tunnel to reach a SNMP server on a remote network. |
Scope | FortiGate. |
Solution |
By default, the FortiGate will use the routing table to send SNMP traffic. To route the traffic via the tunnel interface, the 'set source-ip' command needs to be added as follows:
config system snmp community set name <community name> config hosts edit <ID> set source-ip x.x.x.x <- Set an address which belongs to a local network in VPN phase2 selectors. next end next end
For SNMPv3:
config system snmp user set source-ip x.x.x.x <- Set an address which belongs to a local network in VPN phase2 selectors. next end
|
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 2024 Fortinet, Inc. All Rights Reserved.