AnsweredHot!Backup VPN Tunnel Setup

Author
polarpanda
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Status: offline
2019/11/05 12:03:55 (permalink)
0

Backup VPN Tunnel Setup

Hi there,
 
          I'm still in the learning process of fortigate. I'm trying to setup a backup VPN tunnel. Now, I have a primary vpn tunnel from site A firewall to site B firewall. I will need a secondary vpn tunnel from site C firewall to site B firewall to turn on automatically whenever the primary connection is down. Both site A&C have 90D, site B has 60E. I know I'm supposed to setup some lower value in the setting, but not sure where I need to do it? phase 1 or 2 parameters? Or security policy? priority value of static route?
          Also correct me if I'm wrong for the settings I need to do. 1. Using vpn wizard create vpn tunnel 2. setup ipv4 policy 3. setup security policy 4. setup static route
 
              Thank you for your time and advice. Really appreciate it!!
 
#1
Toshi Esumi
Expert Member
  • Total Posts : 1748
  • Scores: 143
  • Reward points: 0
  • Joined: 2014/11/06 09:56:42
  • Status: offline
Re: Backup VPN Tunnel Setup 2019/11/05 13:18:48 (permalink)
0
It's not so easy as you're thinking because it's not a simple backup tunnel to the primary one since your second tunnel come from site C. How can site A get to site C to get to the second tunnel? Another VPN?
If you use static routes, you need to use link-monitor to remove those toward the primary tunnel when it goes down. For the secondary route, you can use admin distance or other metrics to let them "float".
But routing protocols are designed for that purpose.
#2
polarpanda
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Status: offline
Re: Backup VPN Tunnel Setup 2019/11/05 13:39:32 (permalink)
0
Hi Toshi,
 
           Thank you for the reply. I don't really need connection between site A and C. We setup site C as internet backup for site A. Now, all the ingress traffic go to site A. When site A down, site C will handle all ingress traffic. Then at the same time, the secondary vpn tunnel should be activated. Hope it makes more sense after explanation.
           I'm thinking to have config of from C to B same as from A to B. Then setup a bigger priority value of B to C than B to A in static route ->advanced option. When site A internet works, there is no traffic from B to C. When site A internet down (site C is up), there is traffic from B to C (no traffic from B to A). Will it work? Do I still need link monitoring?
             Thank you for your time!!
post edited by polarpanda - 2019/11/05 14:08:00
#3
Toshi Esumi
Expert Member
  • Total Posts : 1748
  • Scores: 143
  • Reward points: 0
  • Joined: 2014/11/06 09:56:42
  • Status: offline
Re: Backup VPN Tunnel Setup 2019/11/05 15:13:13 (permalink)
0
Still not clear about the roles of those sites&VPNs. What do you mean by "ingress" traffic? Is it traffic from the internet into your network consisting three locations? In that case, do the public IPs to enter into your network move/change from A to C by DDNS?
If B is the main location and A and C are just B's internet path options, B just needs to decide which way to go. You don't have to "activate" VPN and you can keep the tunnel up all the time. You just don't route to it when you don't need it. I still recommend to use link-monitor at B to detect the internet path over the VPN down.
#4
polarpanda
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Status: offline
Re: Backup VPN Tunnel Setup 2019/11/05 15:33:24 (permalink)
0
Hi Toshi,
 
        Sorry about the confusion. Both site A and C are our main route. Normally, all ingress traffic goes through site A and egress traffic goes through site C. Whenever site A internet is down, site C will taking care of ingress and egress traffic. The site A and site C connect to each other by vMPLS (we do have more sites connect to A and C). Site B is not part of WAN, no vMPLS connection with other sites. So we need to setup vpn tunnel in order to access the site B. 
#5
Toshi Esumi
Expert Member
  • Total Posts : 1748
  • Scores: 143
  • Reward points: 0
  • Joined: 2014/11/06 09:56:42
  • Status: offline
Re: Backup VPN Tunnel Setup 2019/11/05 15:40:31 (permalink)
0
No confusion, but just lack of information. As the result, my last comment still applies, because it's all about site B's internet paths.
#6
polarpanda
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Status: offline
Re: Backup VPN Tunnel Setup 2019/11/05 15:56:03 (permalink)
0
Hi Toshi,
 
          Thank you!!
 
If B is the main location and A and C are just B's internet path options, B just needs to decide which way to go. You don't have to "activate" VPN and you can keep the tunnel up all the time. You just don't route to it when you don't need it. I still recommend to use link-monitor at B to detect the internet path over the VPN down.

 
In order to do this, will my solution work? Under static route -> advanced option -> priority, I setup larger number from B to C than from B to A (smaller number has higher priority), and setup link monitor between B and A. Whenever the connection between B and A down, the route B to C will kick in.
post edited by polarpanda - 2019/11/05 15:58:32
#7
Toshi Esumi
Expert Member
  • Total Posts : 1748
  • Scores: 143
  • Reward points: 0
  • Joined: 2014/11/06 09:56:42
  • Status: offline
Re: Backup VPN Tunnel Setup 2019/11/05 16:11:59 (permalink) ☼ Best Answerby polarpanda 2019/11/05 16:20:34
0
Any metric option on static routes would work including priority. With priority, both routes shows up in the routing table but if a session is initiated from inside of B it would take the route with a lower priority-number (0 by default). Since the other one is still in the table, sessions coming in the interface (VPN) with a higher priority-number are still legit and the returning packets still go out through the same interface (VPN) they came in. 
#8
polarpanda
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Status: offline
Re: Backup VPN Tunnel Setup 2019/11/05 16:20:20 (permalink)
0
Thank you for your time and answer, Toshi. I will play with it.
#9
Jump to:
© 2019 APG vNext Commercial Version 5.5