Skip to main content
andersonlima
New Member
April 27, 2023
Solved

Site-to-site VPN with BGP routing between FGT 100F and AWS

  • April 27, 2023
  • 1 reply
  • 3504 views

Hello!
I have three site-to-site VPNs with AWS using static route and I want to switch to BGP routing.
The articles I've read only deal with BGP with just a VPN, no redundancy.
How do I configure the FGT BGP routes to use the three VPNs?

 

FortiGate 

Best answer by msanjaypadma

Hi andersonlima,

 

As I have understand you want to configure dynamic routing and need to have redundancy with  three VPN tunnels.

There are different scenario how you built your network topology. One of them explain as below


1) Over 3 VPN tunnel 3 BGP neighborship.

2) Advertised your routes to peer  with AS-PATH prepend (AS-path prepend is used for reverse route selection preference)
3) While received routes set weight in FortiGate specific bgp neighbors according to your forward route selection preference(exit interface selection)

Reference Document:
https://community.fortinet.com/t5/FortiGate/Technical-Tip-BGP-AS-Path-Prepending-Configuration-Example/ta-p/194522
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Use-BGP-Weight-attribute-to-prefer-default-route/ta-p/195347

 

Above documents written for specific use case, you may refer specific configuration according to your requirement. 

1 reply

msanjaypadma
Staff
Staff
April 27, 2023

Hi andersonlima,

 

As I have understand you want to configure dynamic routing and need to have redundancy with  three VPN tunnels.

There are different scenario how you built your network topology. One of them explain as below


1) Over 3 VPN tunnel 3 BGP neighborship.

2) Advertised your routes to peer  with AS-PATH prepend (AS-path prepend is used for reverse route selection preference)
3) While received routes set weight in FortiGate specific bgp neighbors according to your forward route selection preference(exit interface selection)

Reference Document:
https://community.fortinet.com/t5/FortiGate/Technical-Tip-BGP-AS-Path-Prepending-Configuration-Example/ta-p/194522
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Use-BGP-Weight-attribute-to-prefer-default-route/ta-p/195347

 

Above documents written for specific use case, you may refer specific configuration according to your requirement. 

andersonlima
New Member
May 3, 2023

Thansks @msanjaypadma

It helped me a lot in understanding the solution.