Skip to main content
gnat1000
New Member
March 9, 2017
Question

Setting WANs on Fortigate to route through specific interfaces

  • March 9, 2017
  • 1 reply
  • 5747 views

Currently have a Fortigate 60C running 5.0B0179.  The Fortigate is setup where all traffic runs through WAN1.  I would like to add another WAN connection into WAN2 and setup the Fortigate where interface port 2 routes through WAN2 and interface port 4 routes through WAN1.  I have changed the local interface from switch mode to interface mode.  Does anyone have tips on how to get WAN2 setup and then setup the interfaces to route through the correct WANs?

1 reply

gnat1000
gnat1000Author
New Member
March 14, 2017

Anyone?  Do I need to move this to another area of the forums?

tanr
New Member
March 14, 2017

There have been a lot of discussions on the forums on how to do this - try searching for dual wan.

Fortinet also has various guides and cookbook articles which discuss it.

Though I'm not sure if 5.0 will be quite the same as 5.2 or 5.4.

 

A recent forum post that discusses this and has other links is at: 

https://forum.fortinet.com/tm.aspx?m=143704

 

The short answer is:

Create two static routes, one to WAN1, the other to WAN2.

Set both static routes to the same distance.

Set the WAN1 route to a higher priority (lower value) than the WAN2.  This means the WAN1 route will always get used unless the interface is down or a policy route overrides using it.

Create a policy route that routes your interface 2 to WAN2, without specifying a gateway IP.

localhost
Visitor III
March 15, 2017

Are you trying to seperate two different networks or companies?

 

In this case you should also look into vdoms.

It divides one physical firewall into multiple virtual firewalls.

Each firewall has its own policy set and routing table.

 

http://docs.fortinet.com/uploaded/files/1078/fortigate-vdoms-50.pdf