Fortinet black logo

FortiGate-6000 Handbook

IPv6 IPsec VPN load balancing

IPv6 IPsec VPN load balancing

By default IPv6 IPsec VPN load balancing is disabled and the flow rules listed below are enabled, directing all IPv6 IPsec VPN sessions to the primary FPC.

Default IPv6 IPsec VPN flow-rules
    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

These flow rules should generally handle all IPv6 IPsec VPN traffic. You can also adjust them or add your own flow rules if you have an IPv6 IPsec VPN setup that is not compatible with the default flow rules.

IPv6 IPsec VPN load balancing

By default IPv6 IPsec VPN load balancing is disabled and the flow rules listed below are enabled, directing all IPv6 IPsec VPN sessions to the primary FPC.

Default IPv6 IPsec VPN flow-rules
    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

These flow rules should generally handle all IPv6 IPsec VPN traffic. You can also adjust them or add your own flow rules if you have an IPv6 IPsec VPN setup that is not compatible with the default flow rules.