Community discussions

MikroTik App
 
obomz
newbie
Topic Author
Posts: 44
Joined: Tue Mar 22, 2011 11:54 am
Location: Lagos nigeria
Contact:

Prob with Web-proxy

Wed Dec 21, 2011 3:59 pm

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 :( :cry:
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Prob with Web-proxy

Wed Dec 21, 2011 4:23 pm

give more details about what you have configured and is it transparent proxy?
 
obomz
newbie
Topic Author
Posts: 44
Joined: Tue Mar 22, 2011 11:54 am
Location: Lagos nigeria
Contact:

Re: Prob with Web-proxy

Wed Dec 21, 2011 4:34 pm

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
 
w0lt
Long time Member
Long time Member
Posts: 537
Joined: Wed Apr 02, 2008 2:12 pm
Location: Minnesota USA

Re: Prob with Web-proxy

Wed Dec 21, 2011 5:44 pm

Did you add a DST-NAT rule to route port 80 to the proxy?
 
obomz
newbie
Topic Author
Posts: 44
Joined: Tue Mar 22, 2011 11:54 am
Location: Lagos nigeria
Contact:

Re: Prob with Web-proxy

Wed Dec 21, 2011 6:19 pm

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
 
goranst
Trainer
Trainer
Posts: 9
Joined: Mon Nov 30, 2009 7:44 pm
Location: Serbia
Contact:

Re: Prob with Web-proxy

Wed Dec 21, 2011 7:43 pm

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...
 
w0lt
Long time Member
Long time Member
Posts: 537
Joined: Wed Apr 02, 2008 2:12 pm
Location: Minnesota USA

Re: Prob with Web-proxy

Wed Dec 21, 2011 9:06 pm