Page 1 of 1
Prob with Web-proxy
Posted: Wed Dec 21, 2011 3:59 pm
by obomz
Hi,
I seem to have a problem with my web-proxy. I cant seem to make it work!
My log shows Cache-control: no cache each time a user requests a page.
I would appreciate it if someone could please point out the way for me.
thx
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
Re: Prob with Web-proxy
Posted: Wed Dec 21, 2011 4:23 pm
by janisk
give more details about what you have configured and is it transparent proxy?
Re: Prob with Web-proxy
Posted: Wed Dec 21, 2011 4:34 pm
by obomz
Hi,
Thanks, yes it is meant to be a transparent proxy. Below are the details
[admin@NetSnap] /ip proxy> print
enabled: yes
src-address: 0.0.0.0
port: 8080
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-administrator: webmaster
max-cache-size: unlimited
cache-on-disk: yes
max-client-connections: 600
max-server-connections: 600
max-fresh-time: 4w2d
serialize-connections: yes
always-from-cache: yes
cache-hit-dscp: 4
cache-drive: sata1
Re: Prob with Web-proxy
Posted: Wed Dec 21, 2011 5:44 pm
by w0lt
Did you add a DST-NAT rule to route port 80 to the proxy?
Re: Prob with Web-proxy
Posted: Wed Dec 21, 2011 6:19 pm
by obomz
i believe i did.
this is what i added:
src-address=172.16.10.0/29 dst-port=80 dst-address=0.0.0.0/0 protocol=tcp in-interface=ether2 action=redirect to-dstaddress=172.16.10.1 to-dst-port=8000
Re: Prob with Web-proxy
Posted: Wed Dec 21, 2011 7:43 pm
by goranst
i believe i did.
this is what i added:
src-address=172.16.10.0/29 dst-port=80 dst-address=0.0.0.0/0 protocol=tcp in-interface=ether2 action=redirect to-dstaddress=172.16.10.1 to-dst-port=8000
to-dst-port must be 8080 like in your proxy conf.not 8000
Check that...
Re: Prob with Web-proxy
Posted: Wed Dec 21, 2011 9:06 pm
by w0lt