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

Route filtering

Hi Guys,

Is there a way to prevent the unwanted routing related to Provider's managed CE WAN router from being propagated to the Fortigate?Can we do some kind of filter or access list on the fortigate?

 

The protocol between the provider and FG is OSPF and we are redistributing OSPF into BGP on the provider managed CE router.

 

Hope you guys can give me some idea over here.

 

Thank you.

 

Rgds,

Mesh

2 REPLIES 2
Benoit_Rech_FTNT

Hello,

 

you can control route redistricution from OSPF to BGP using route-map. 

 

#config router bgp

#...

#config redistribute ospf

#set status enable

#set routemap OSPF2BGP

#end

#end

 

...

You have an example for OSPF in this KB: http://kb.fortinet.com/kb/microsites/search.do?cmd=displayKC&docType=kc&externalId=FD32884, but it's similar for BGP...

 

Benoit

emnoc
Esteemed Contributor III

You should define a prefix-list with route-map, but the LSA will still be in the ospf database. Alternatively you could ask the provider to filter  or install blackhole routes for the destinations that you don't want, &  with uRPF checks that should squash any traffic for those destinations.

 

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
Announcements

Select Forum Responses to become Knowledge Articles!

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

Labels
Top Kudoed Authors