Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
New Contributor

bgp and policies

hi. i've read this article


and at some point, there is an instruction to do an inbound policy from the isp back to the company lan. isn't that dangerous?


why is it needed? isn't the only important port from the isp back to the internal network is the bgp port?

1 Solution

Just tell we have our own ASN and subnets to advertise and want to get just a default route from them.

View solution in original post


I don't think this network example is realistic. It seems to be assuming the "internal" network is reachable/routable from the internet, but since NAT is configure on both directions it's not really routing through the FGT. If the internal network is a public subnet, you of course need policies for both-ways but without NAT.

I would blame the tech writer at FTNT.


thank you. so 2 questions about that :


1. do i even need incoming policies for bgp? isn't that a core service not requiring any specific policies?

2. the article also states to setup default static routes. am i not supposed to get those routes via bgp? or the static route is needed to let the fortigate know "where to start from" to get other routes?


If it's the FGT terminating BGP, not passing it to internal routers, and if it's a single VDOM environment, no needs for a policy. But if it's passing BGP through like root vdom to another internal vdom handling BGP or other devices a set of policies need to allow it from ingress interface to egress interface.


If you get full internet routes or partial routes from your neighboring ISP, there is no default route in the routes you receive. The ISP might advertise only default route without other routers. That's depending on the BGP service you get from the ISPs. If you don't get default routes, you might need it internally like static default routes.


ok. so in a classic non vdom scenario, i should ask the ISP what routes they'll give me to know if i need static route or not?


Just tell we have our own ASN and subnets to advertise and want to get just a default route from them.


thank you :)


another question please

let's say i have 2 remote sites using bgp

under each site i have multiple ip pools

how can i state that site 1 is now utilizing pool 1, and site 2 is utilizing pool 2? while of course each site should be the 2nd priority for the other in case of it's down.


IF we talk BGP-only then: 

- You can use Local Preference per received route, this way the same pool will be accepted from both sites, but only the one with higher LocalPref will be installed in RIB

- You can supernet and then divide the pools ןכ they are continuous, say pool1 and pool2 then you can advertise from both sites their respective /25 pools BUT also from each site supernet


Yuri  blog: All things Fortinet, no ads.
Yuri blog: All things Fortinet, no ads.


but local preference will affect the isp's route?

if i have fgt1 on site1 and fgt2 on site2, both of them are unrelated to eachother

and i set a local preference of that route, will it "reflect" on the isp side? 


Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Top Kudoed Authors