Page 1 of 1

cache Server

Posted: Mon Aug 24, 2009 11:50 pm
by uumar
Hi

i have a cache server and a mikrotik rb1000. i want to redirect all http traffic from my mikrotik rb1000 to the cache server for web proxy cache. can any one please help me on how to do this?

thanks.

Re: cache Server

Posted: Tue Aug 25, 2009 12:35 pm
by Chupaka
setup transparent proxy in RouterOS, set Parent proxy = your external proxy

Re: cache Server

Posted: Tue Aug 25, 2009 4:23 pm
by uumar
how do i set a transparent proxy? do i have to do a dst nat aslo?

Re: cache Server

Posted: Tue Aug 25, 2009 8:16 pm
by Chupaka

Re: cache Server

Posted: Tue Sep 01, 2009 11:03 pm
by uumar
hi. thanks------the external proxy is now working but one more thing.
do i have to enable X-Forwarded-For in my external proxy? because right now some sites are not opening while using the external proxy.

Re: cache Server

Posted: Wed Sep 02, 2009 12:23 am
by Chupaka
not opening? why?..

Re: cache Server

Posted: Wed Sep 02, 2009 1:37 am
by uumar
i dont know why. but browsing became slow and some pages are not reachable.

Re: cache Server

Posted: Wed Sep 02, 2009 11:22 am
by Chupaka
have you disabled caching in RouterOS's proxy?..

Re: cache Server

Posted: Wed Sep 02, 2009 12:05 pm
by uumar
did u mean disabling web proxy at web proxy settings? no, i have enabled webproxy cos thats where i set my parent proxy address but cache on disk is disabled.

Re: cache Server

Posted: Wed Sep 02, 2009 12:38 pm
by Chupaka
just set Max Cache Size to none

Re: cache Server

Posted: Tue Sep 08, 2009 12:10 pm
by trottolino1970
i have a problem with webproxy. it is the following: i have set the right rule but when i go in a site i cannot see it.
i have a pool of public ip but i go on internet with the public ip of the mikrotik.
where is the problem?

Re: cache Server

Posted: Wed Sep 09, 2009 12:00 am
by Chupaka
proxy hides your ip. your ip is sent in X-Forwarded-For HTTP value

Re: cache Server

Posted: Wed Sep 09, 2009 9:08 am
by trottolino1970
proxy hides your ip. your ip is sent in X-Forwarded-For HTTP value

how can I solve this problem?

Re: cache Server

Posted: Wed Sep 09, 2009 1:45 pm
by Chupaka
you can solve this by disabling RouterOS proxy

Re: cache Server

Posted: Wed Sep 09, 2009 1:50 pm
by trottolino1970
you can solve this by disabling RouterOS proxy


ahahahahaha

Re: cache Server

Posted: Wed Sep 09, 2009 3:31 pm
by Chupaka
what's funny? it's by design. if you want to spoof users' IPs - you should use external Squid with Balabit TProxy