Created on
09-23-2010
01:17 AM
Edited on
08-22-2025
07:41 AM
By
Serxhio
Description
This article gives a configuration example of how to forward traffic in between two VLANs in transparent mode.
VLAN forwarding allows to forward all VLANs traffic of a trunk that was connecting two network devices and where the FortiGate has been introduced, without having to perform any further configuration.
For more information on the trunk, VLAN, forwarding domain and VDOM, please refer to the related articles.
Case Scenario:
Solution:
Scope
All FortiGates or VDOMs running in transparent mode.
Solution
| edit "vlan104-105_intern" set forward-domain 104 set interface "port2" set vlanid 104 next edit "vlan104-105_extern" set forward-domain 104 set interface "port3" set vlanid 105 next |
| edit 3 set srcintf "vlan104-105_intern" set dstintf "vlan104-105_extern" set srcaddr "all" set dstaddr "all" set action accept set schedule "always" set service "ANY" next edit 4 set srcintf "vlan104-105_extern" set dstintf "vlan104-105_intern" set srcaddr "all" set dstaddr "all" set action accept set schedule "always" set service "ANY" next |
Related Articles
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.