squid and policy routing

please…can anyone help me, how to set mikrotik policy routing with eksternal squid? when first am set mikrotik with policy routing without squid its normally work (IP 192.168.1.1 - 192.168.1.10= modem1, 192.168.1.11-192.168.1.20=modem2), but when i compile it with eksternal squid its not work anymore, only on modem 1 can browsing, modem 2 only can play a game or use yahoo messenger (port 80 not work on modem 2).
can anyone help me :frowning:
forgive me, my english is not good.

i did not understand your scenario and you provide a digram of your scenario? also post your router config here [routing table, ip address, nat, ect..]

ADSL1-----------|
-----------------|—MIKROTIK-----------SWITCH--------CLIENT
| |–SQUID BOX
ADSL2-----------|


ADSL1= 192.168.10.1
ADSL2= 192.168.100.1
SQUID BOX= 192.168.200.100

MIKROTIK:
LAN: 192.168.0.1/24
ADSL1= 192.168.10.2/24
ADSL2= 192.168.100.2/24
SQUID= 192.168.200.1/24
/ip fi ma pr
0 ;;; ADSL1
chain=prerouting action=mark-routing new-routing-mark=ADSL1
passthrough=no src-address-list=ADSL1
1 ;;; ADSL2
chain=prerouting action=mark-routing new-routing-mark=ADSL2
passthrough=no src-address-list=ADSL2

/ip fi nat pr
0 chain=srcnat action=masquerade out-interface=ADSL1
1 chain=srcnat action=masquerade out-interface=ADSL2
2 ;;; Proxy HIT
chain=dstnat action=dst-nat to-addresses=192.168.200.100 to-ports=3128
protocol=tcp src-address=!192.168.200.100 in-interface=LAN
dst-port=80,8080,3128,8081

/ip route pr
0 A S ;;; ROUTE ADSL1
0.0.0.0/0 192.168.10.1 1
1 A S ;;; ROUTE ADSL2
0.0.0.0/0 192.168.100.1 1


There is no problem with the squid box when i use it for just 1 line, but if i use it for this routing policy my squid box not work.
can u tell me what rule i must create to use my squid box again bro?? thank u very much… :slight_smile: