SD-WAN and IPsec
Hello, we are just starting to implement SD-WAN and I have a question on how to setup IPsec tunnels because I am sure I am overlooking something or making things more complicated than they are.
If both sites have a Primary WAN and a Secondary WAN, do I have to create 4 tunnels and 8 policies to make all the possible combinations to keep the traffic flowing at all times without manual intervention or is there a better way to accomplish that?
| IPsec tunnel source | IPsec tunnel destination | Primary WAN | Secondary WAN |
| Fortigate 1 | Fortigate 2 | WAN1 | WAN2 |
| Fortigate 1 | Fortigate 2 | WAN1 | BACKUP WAN |
| Fortigate 1 | Fortigate 2 | BACKUP WAN | WAN2 |
| Fortigate 1 | Fortigate 2 | BACKUP WAN | BACKUP WAN |
| Fortigate 2 | Fortigate 1 | WAN2 | WAN1 |
| Fortigate 2 | Fortigate 1 | BACKUP WAN | WAN1 |
| Fortigate 2 | Fortigate 1 | WAN2 | BACKUP WAN |
| Fortigate 2 | Fortigate 1 | BACKUP WAN | BACKUP WAN |
