Routing Traffic on a FortiGate 80C

We have a FortiGate 80C currently in place with a static IP on WAN2.  I am setting up a second static IP on WAN1.  I need all traffic from the network to funnel through WAN2 with the exception of a single machine.  That single machine needs to be setup in the DMZ and have all traffic routed through WAN1. It is critical that current traffic from the remainder of the network continues through WAN2 for DNS reasons.

I've never worked with the FortiGate interface before and would appreciate a little help in getting this accomplished.\

Many thanks in advance.
urbanstylesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bbaoIT ConsultantCommented:
is the IP on WAN1 a public IP too? or just another private IP and the subnet of WAN1 is for DMZ?
urbanstylesAuthor Commented:
It's public.
bbaoIT ConsultantCommented:
so basically all traffic from DMZ and that particular host to the Internet should go through the WAN1 interface, and all other traffic goes to the Internet through WAN2 by default. am i correct?
Need More Insight Into What’s Killing Your Network

Flow data analysis from SolarWinds NetFlow Traffic Analyzer (NTA), along with Network Performance Monitor (NPM), can give you deeper visibility into your network’s traffic.

urbanstylesAuthor Commented:
Correct.
myramuCommented:
Hello,

You have to play around with route distance and priority (Same distance with different priority).

:For WAN2 traffic:
Destination IP/Mask : 0.0.0.0/0.0.0.0
Device: wan2
Gateway: y.y.y.y
Administrative distance: 10
Priority (Under advanced options): 1

:For WAN1 traffic:
Destination IP/Mask : 0.0.0.0/0.0.0.0
Device: wan1
Gateway: x.x.x.x
Administrative distance: 10
Priority (Under advanced options): 2

With the above configuration all traffic will go through WAN2. To force the specific traffic through wan1 create a policy based routing as below.

Protocol: Any
Incoming Interface: dmz
Source: 0.0.0.0/0.0.0.0
Destination: 0.0.0.0.0/0.0.0.0
Action: Forward Traffic
Outgoing Interface: wan1
Gateway: 0.0.0.0/0.0.0.0

Also define the firewall policy according to your need.

KB article for same type: http://kb.fortinet.com/kb/microsites/search.do?cmd=displayKC&docType=kc&externalId=FD31240

Good Luck!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bbaoIT ConsultantCommented:
sorry for replying late.

basically THREE routes should be added to the FortiGate device.

Network Destination: 0.0.0.0 mask 0.0.0.0
Gateway: WAN1's default gateway
Interface: DMZ

Network Destination: 0.0.0.0 mask 0.0.0.0
Gateway: WAN2's default gateway
Interface: LAN

Network Source: 192.168.x.y mask 255.255.255.255
Network Destination: 0.0.0.0 mask 0.0.0.0
Gateway: WAN1's default gateway
Interface: LAN

where 192.168.x.y is the IP of that particular host
urbanstylesAuthor Commented:
Thanks all... I decided to forgo the DMZ all together and just used a policy based route for the one host.  Seems to be working as desired.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.