| Description |
This article describes how to configure one rule to allow multiple VLANs to communicate with one VLAN.
3 VLANs have been created on an interface and it is wanted for them to only communicate with one, specific VLAN. It is required to use a single policy to achieve this. |
| Scope | FortiGate. |
| Solution |
There are two ways to achieve this. It is possible to either use a Zone to combine those 3 VLANs into one, logical interface, or it is possible to just specify those VLANs in a policy via the CLI.
edit "VLAN200" edit "VLAN300" edit "VLAN400" end
There will only be one source interface when using a Zone.
config firewall policy set schedule "always" set service "ALL" set srcaddr "all"
For the configuration involving separate VLAN interfaces:
config firewall policy set schedule "always" set service "ALL" set srcaddr "all" When the multiple interfaces are configured in a single policy, 'Interface Pair View' is also disabled.
|
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.