Policy Based Routing

I am trying to configure policy based routing so that all traffic on my network automatically goes through our websense webfilter device.  I have attached a diagram showing our layout.  We have a Juniper SSG140 firewall.  

I have added the following lines to our firewall.  After doing so all web traffic stops

set interface "ethernet0/0" zone "Trust"
set interface "ethernet0/8" zone "Untrust"
set interface "ethernet0/9" zone "Websense"

set interface ethernet0/0 ip
set interface ethernet0/0 nat
set interface ethernet0/8 ip
set interface ethernet0/8 route
set interface ethernet0/9 ip
set interface ethernet0/9 nat

set access-list extended 1 src-ip dst-port 80-80 protocol any entry 1
set access-list extended 1 src-ip dst-port 443-443 protocol any entry 2
set match-group name 1
set match-group 1 ext-acl 1 match-entry 1
set action-group name 1
set action-group 1 next-interface ethernet0/9 next-hop
action-entry 1
set pbr policy name 1
set pbr policy 1 match-group 1 action-group 1 1
set interface ethernet0/0 pbr 1
set policy id 1 from "Trust" to "Websense" "" "Any" "ANY"
nat dst ip port 8080 permit log
set policy id 2 from "Websense" to "Untrust" "" "Any" "ANY" permit

set route int eth0/1 gateway

I have the following routes already in my routing table and I'm not sure if I need to disable one or more to get this working

set policy id 34 from "Untrust" to "Trust"  "Any-IPv4" "" "ANY" permit log count
set policy id 34
set policy id 33 from "Untrust" to "Trust"  "Any-IPv4" "Trusted Interface IP" "ANY" permit
set policy id 33
set policy id 32 from "Untrust" to "Trust"  "Any-IPv4" "Any-IPv4" "ANY" permit
set policy id 32
set policy id 30 from "Untrust" to "Trust"  "Any-IPv4" "" "ANY" permit
set policy id 30
set policy id 0 from "Trust" to "Untrust"  "Any-IPv4" "Any-IPv4" "ANY" permit log count
set policy id 0
set policy id 27 name "Any" from "Untrust" to "Trust"  "Any-IPv4" "VIP(ethernet0/8)" "ANY" permit log
set policy id 27
Who is Participating?
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.

You can not use the same /21 on two interfaces.

Use for websense.
PDISAuthor Commented:
Websense will not allow me to do that.  P1 and P2 on the websense device have to share the same default gateway.  The Juniper allowed me to use the same subnet on two ports by changing Network, Routing, Virtual Routers, Edit Trust-VR and putting a check mark in "Ignore Subnet Conflict for Interfaces in this VRouter

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
PDISAuthor Commented:
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
Network Architecture

From novice to tech pro — start learning today.