Description | This article describes the order of execution of Virtual IPs port forwarding, and how to change that order. |
Scope | FortiGate. |
Solution |
In FortiGate Virtual IP (VIP) port forwarding priority goes from top to bottom and the Firewall Policy order to which these VIPs are applied does not matter. VIPs will only be checked if they are applied on at least one firewall policy.
After using the command it can be observed the successful order change, over both CLI and GUI.
Virtual Servers:
Although configured in a different GUI section, Virtual Servers are part of the VIP list. They can be moved relative to other Virtual IP addresses in the same way.
To verify the processing order of Virtual Servers, view the VIP list in CLI.
VAN_DNAT # show firewall vip edit "Lpk3" set extip 10.5.20.59 next set extip 10.5.20.59 next set type server-load-balance edit 1 set ip 4.4.4.4 next end next end VAN_DNAT (vip) # move "Virtual Server" before Lpk2 VAN_DNAT (vip) # end VAN_DNAT #
VAN_DNAT # move "Virtual Server" before Lpk2 Moving virtual IP objects in these firmware versions is only possible by removing the virtual IP objects from every firewall policy and reconfiguring them in the intended order.
Related articles: Technical Tip: Virtual IP (VIP) port forwarding configuration Technical Tip: Local In Policy VS Virtual IP Policy Technical Tip: Configure firewall policies for a VIP when Central NAT is enabled |
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.