Web proxy Enabled but not working with redirect rule

Hello,

I am new to mikrotik RouterOS and created routerOS 2.9 with simple nat and webproxy to save bandwidth. web proxy is working fine if i enter the router ip as proxy address and port 3128 in Internet explorer but if i remove the proxy ip and port form internet explorer then webproxy cache is not working i also created a port redirect rule in firewall nat but its not working.

[admin@mikrotik] ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=Wan src-address=192.168.0.0/24 action=masquerade
1 chain=dstnat in-interface=Lan src-address=192.168.0.0/24 protocol=tcp dst-port=80 action=redirect to-ports=3128

i also set the rule priority but still its not working

help me out plz

Arman

How is “/ip proxy” set in your router? That is not the standard port for the proxy.

ADD: Remove the src-address from the masquerade rule. Only the out-interface in that rule, or you are not masquerading 127.0.0.1 (internal OS in the router).

Thanks for replying .. ip proxy is like mentioned follows.

[admin@MikroTik] > ip proxy print
enabled: yes
port: 8080
parent-proxy: 0.0.0.0:0
maximal-client-connecions: 1000
maximal-server-connectons: 1000

Then you need to put port 8080 on the redirect rule. And remove the src-address in the masquerade. Only the out-interface is needed.

yes i’ve done as you said in above mentioned posts.
but still cache is not working or increasing in web proxy status.

see the attached picture
proxy.JPG

You are using an obsolete version of the OS. You should upgrade to at least version 3.30 or higher.