Skip to main content
exeral
New Member
December 18, 2020
Question

HA + AWS + IPsec local-gw

  • December 18, 2020
  • 0 replies
  • 1608 views

Hello,

 

I have two Fortigate VM in AWS. each one in a different zone, running in HA.

 

exactly this setup: https://docs.fortinet.com/document/fortigate/6.4.0/aws-cookbook/229470/deploying-fortigate-vm-active-passive-ha-aws-between-multiple-zones

 

The difference between classic HA and AWS multiple zone HA is the fortigates are not on the same network segments.

So each Fortigate has it's own IP addresses and when the HA failover occurs, the master interfaces becomes active, so IPs changes.

 

now let's say I have:

fgt1: wan - port1 = 192.168.1.1/24

fgt1: wan - port1(secondary) = 192.168.1.2/24 fgt2: wan - port1 = 192.168.2.1/24

fgt1: wan - port1(secondary) = 192.168.2.2/24

 

I want to run an IPsec tunnel on the secondary address.

So I use:

# config vpn ipsec phase1-interface     edit MyVPNTunnel         set interface port1         set local-gw 192.168.1.2     end

 

When the HA failover occurs to promote fgt2 as master, the local-gw is NOT updated to 192.168.2.2

 

Any idea how to solve this ?

 

(I can't add more network interfaces (AWS limitation))

 

thanks