Failover IPSEC tunnel policy based
I know this is officially unsupported, but still I am curious if someone somehow has a clever solution :)
The problem description:
On our central datacenter firewall (Fortigate) we have multiple tunnels towards customers who have overlapping destination subnets so policy-based tunneling is a must. A new customer has two tunnels which need to be in a failover setup. Therefore I have two identical policies, both pointing to a different IPSEC tunnel. All traffic for this customer now matches always on the first policy, resulting in the backup-tunnel-policy below it to be never hit.
I already thought of an automation-stitch with a script to disable a policy on an event (monitoring the primary WAN IP of the customer) but I think that is too much hassle or might have unexpected results.
In the past, when using Cisco ASA, policy-based tunnels could be easely configured as a backup (just add a second peer IP address on the crypto-map). Fortigate lacks this mechanism.
Of course there can be a setup by NATting the customers' subnet to make it unique and then rebuild to route-based tunnels with different static route distances, but before I go that way I would like to know if there is a clever solution I haven't thought of yet :)
Thanks,
Mike
