Created on
07-20-2022
08:10 AM
Edited on
12-01-2025
09:48 PM
By
Anthony_E
| Description | This article describes how to configure multicast Destination NAT (DNAT) when performing multicast traffic forwarding on the FortiGate. |
| Scope |
FortiGate, Multicast. |
| Solution |
Consider the following example topology, where an administrator needs to translate the original destination multicast group sent out by the Speaker (234.5.6.7) to a different multicast address before it is sent to the Receiver (234.5.6.8).
To do this, a multicast policy must be created that allows this direction of traffic (port6 -> port10 for destination address 234.5.6.7). A DNAT must be enabled within the multicast forwarding policy.
DNAT functionality must be configured via the CLI, and the DNAT address must be set directly in the multicast policy (as opposed to creating a Virtual IP object and assigning that to the policy). The following example demonstrates how to configure DNAT to meet the above administrator's requirements:
config firewall multicast-policy edit 1 set name 'MCAST_Policy' next end
The following is an example debug output after the above DNAT multicast policy was configured:
diagnose sys mcast-session list session info: id=59946 vf=0 proto=17 10.141.0.10.8910->234.5.6.7.8910 <--- Original source & multicast group
diagnose sniffer packet any 'port 8910' 4 2 l
Note regarding Multicast Source NAT (SNAT): SNAT is also supported and configured via multicast policies, though it can be configured in both the CLI and also in the GUI. See also: Configuring multicast policies
config firewall multicast-policy edit <id> set snat [enable | disable] <----- Available in the GUI via the 'Enable SNAT' toggle. set snat-ip <ip_address> <----- CLI only. Allows admin to specify SNAT address, rather than use outgoing interface IP. 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 2025 Fortinet, Inc. All Rights Reserved.