Hi,i has two isp and use policy routing.
When i running web-proxy is running on default route,and not work on policy routing based route.
I use masquarade in src-nat
Example:
[admin@juri] ip address> pri
Flags: X - disabled, I - invalid, D - dynamic
ADDRESS NETWORK BROADCAST INTERFACE
0 82.135.245.27/24 82.135.245.0 82.135.245.255 WAN1
1 82.135.208.3/24 82.135.208.0 82.135.208.255 WAN2
2 192.168.3.2/30 192.168.3.0 192.168.3.3 LAN
[admin@juri] ip firewall nat> pri
Flags: X - disabled, I - invalid, D - dynamic
3 chain=dstnat in-interface=LAN protocol=udp dst-port=53 action=redirect to-ports=53
4 X chain=dstnat in-interface=LAN protocol=tcp dst-port=80 action=redirect to-ports=3128
[admin@juri] ip web-proxy> pri
enabled: yes
src-address: 0.0.0.0
port: 3128
hostname: ""
transparent-proxy: yes
parent-proxy: 0.0.0.0:0
cache-administrator: ""
max-object-size: 1024KiB
cache-drive: system
max-cache-size: 200000KiB
max-ram-cache-size: unlimited
status: running
reserved-for-cache: 199680KiB
reserved-for-ram-cache: 150528KiB
and routes 0.0.0.0 to gateway 82.135.245.1
0.0.0.0 to gateway 82.135.208.1 witch routing marck on port 80
Routes works ok,but when i enable web-proxy this is running on 82.135.245.1(wan1) ant not work on 82.135.208.1(wan2) gateway.
When i disable 80 port redirect, all trafic coming from wan1,but port 80 coming from wan2.
[/b]
search on my post and you will understan that is not possible to redirect proxy request.
You can invert default gateway only.
ciao