Fortinet black logo

FortiGate-7000 Release Notes

Manually deleting IPsec VPN load balancing flow rules

Manually deleting IPsec VPN load balancing flow rules

Previous versions of FortiOS for FortiGate-6000 and 7000 used load balancing flow rules to handle IPsec VPN traffic. The default versions of these flow rules sent all IPv4 and IPv6 IPsec VPN traffic to the primary (master) FPC or FPM. Enabling IPsec VPN load balancing by enabling the ipsec-load-balance option of the config load-balance settings command enabled these flow rules. Disabling IPsec VPN load balancing disabled them.

For FortiOS 6.0.6, you no longer need these flow rules and they should be manually removed after upgrading to FortiOS 6.0.6. Upgrading to FortiOS 6.0.6 does not automatically remove them. For more information, see FortiGate-6000 IPsec VPN load balancing support and FortiGate-7000 IPsec VPN load balancing changes .

Example IPv4 and IPv6 IPsec VPN flow rules that can be removed after upgrading to FortiOS 6.0.6:

 edit 18
        set status enable
        set vlan 0
        set ether-type ipv6
        set src-addr-ipv6 ::/0
        set dst-addr-ipv6 ::/0
        set protocol udp
        set src-l4port 0-0
        set dst-l4port 500-500
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv6 ike"
    next
    edit 19
        set status enable
        set vlan 0
        set ether-type ipv6
        set src-addr-ipv6 ::/0
        set dst-addr-ipv6 ::/0
        set protocol udp
        set src-l4port 0-0
        set dst-l4port 4500-4500
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv6 ike-natt dst"
    next
    edit 20
        set status enable
        set vlan 0
        set ether-type ipv6
        set src-addr-ipv6 ::/0
        set dst-addr-ipv6 ::/0
        set protocol esp
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv6 esp"
    next
    edit 21
        set status enable
        set vlan 0
        set ether-type ipv4
        set src-addr-ipv4 0.0.0.0 0.0.0.0
        set dst-addr-ipv4 0.0.0.0 0.0.0.0
        set protocol udp
        set src-l4port 0-0
        set dst-l4port 500-500
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv4 ike"
    next
    edit 22
        set status enable
        set vlan 0
        set ether-type ipv4
        set src-addr-ipv4 0.0.0.0 0.0.0.0
        set dst-addr-ipv4 0.0.0.0 0.0.0.0
        set protocol udp
        set src-l4port 0-0
        set dst-l4port 4500-4500
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv4 ike-natt dst"
    next 
    edit 23
        set status enable
        set vlan 0
        set ether-type ipv4
        set src-addr-ipv4 0.0.0.0 0.0.0.0
        set dst-addr-ipv4 0.0.0.0 0.0.0.0
        set protocol esp
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv4 esp"
    next

Manually deleting IPsec VPN load balancing flow rules

Previous versions of FortiOS for FortiGate-6000 and 7000 used load balancing flow rules to handle IPsec VPN traffic. The default versions of these flow rules sent all IPv4 and IPv6 IPsec VPN traffic to the primary (master) FPC or FPM. Enabling IPsec VPN load balancing by enabling the ipsec-load-balance option of the config load-balance settings command enabled these flow rules. Disabling IPsec VPN load balancing disabled them.

For FortiOS 6.0.6, you no longer need these flow rules and they should be manually removed after upgrading to FortiOS 6.0.6. Upgrading to FortiOS 6.0.6 does not automatically remove them. For more information, see FortiGate-6000 IPsec VPN load balancing support and FortiGate-7000 IPsec VPN load balancing changes .

Example IPv4 and IPv6 IPsec VPN flow rules that can be removed after upgrading to FortiOS 6.0.6:

 edit 18
        set status enable
        set vlan 0
        set ether-type ipv6
        set src-addr-ipv6 ::/0
        set dst-addr-ipv6 ::/0
        set protocol udp
        set src-l4port 0-0
        set dst-l4port 500-500
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv6 ike"
    next
    edit 19
        set status enable
        set vlan 0
        set ether-type ipv6
        set src-addr-ipv6 ::/0
        set dst-addr-ipv6 ::/0
        set protocol udp
        set src-l4port 0-0
        set dst-l4port 4500-4500
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv6 ike-natt dst"
    next
    edit 20
        set status enable
        set vlan 0
        set ether-type ipv6
        set src-addr-ipv6 ::/0
        set dst-addr-ipv6 ::/0
        set protocol esp
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv6 esp"
    next
    edit 21
        set status enable
        set vlan 0
        set ether-type ipv4
        set src-addr-ipv4 0.0.0.0 0.0.0.0
        set dst-addr-ipv4 0.0.0.0 0.0.0.0
        set protocol udp
        set src-l4port 0-0
        set dst-l4port 500-500
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv4 ike"
    next
    edit 22
        set status enable
        set vlan 0
        set ether-type ipv4
        set src-addr-ipv4 0.0.0.0 0.0.0.0
        set dst-addr-ipv4 0.0.0.0 0.0.0.0
        set protocol udp
        set src-l4port 0-0
        set dst-l4port 4500-4500
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv4 ike-natt dst"
    next 
    edit 23
        set status enable
        set vlan 0
        set ether-type ipv4
        set src-addr-ipv4 0.0.0.0 0.0.0.0
        set dst-addr-ipv4 0.0.0.0 0.0.0.0
        set protocol esp
        set action forward
        set forward-slot master
        set priority 5
        set comment "ipv4 esp"
    next