Community discussions

MikroTik App
 
User avatar
uumar
Member Candidate
Member Candidate
Topic Author
Posts: 104
Joined: Sat Jun 27, 2009 11:11 pm

cache Server

Mon Aug 24, 2009 11:50 pm

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.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8715
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cache Server

Tue Aug 25, 2009 12:35 pm

setup transparent proxy in RouterOS, set Parent proxy = your external proxy
 
User avatar
uumar
Member Candidate
Member Candidate
Topic Author
Posts: 104
Joined: Sat Jun 27, 2009 11:11 pm

Re: cache Server

Tue Aug 25, 2009 4:23 pm

how do i set a transparent proxy? do i have to do a dst nat aslo?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8715
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cache Server

Tue Aug 25, 2009 8:16 pm

 
User avatar
uumar
Member Candidate
Member Candidate
Topic Author
Posts: 104
Joined: Sat Jun 27, 2009 11:11 pm

Re: cache Server

Tue Sep 01, 2009 11:03 pm

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.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8715
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cache Server

Wed Sep 02, 2009 12:23 am

not opening? why?..
 
User avatar
uumar
Member Candidate
Member Candidate
Topic Author
Posts: 104
Joined: Sat Jun 27, 2009 11:11 pm

Re: cache Server

Wed Sep 02, 2009 1:37 am

i dont know why. but browsing became slow and some pages are not reachable.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8715
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cache Server

Wed Sep 02, 2009 11:22 am

have you disabled caching in RouterOS's proxy?..
 
User avatar
uumar
Member Candidate
Member Candidate
Topic Author
Posts: 104
Joined: Sat Jun 27, 2009 11:11 pm

Re: cache Server

Wed Sep 02, 2009 12:05 pm

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.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8715
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cache Server

Wed Sep 02, 2009 12:38 pm

just set Max Cache Size to none
 
trottolino1970
Member Candidate
Member Candidate
Posts: 192
Joined: Thu May 17, 2007 4:25 pm
Contact:

Re: cache Server

Tue Sep 08, 2009 12:10 pm

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?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8715
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cache Server

Wed Sep 09, 2009 12:00 am

proxy hides your ip. your ip is sent in X-Forwarded-For HTTP value
 
trottolino1970
Member Candidate
Member Candidate
Posts: 192
Joined: Thu May 17, 2007 4:25 pm
Contact:

Re: cache Server

Wed Sep 09, 2009 9:08 am

proxy hides your ip. your ip is sent in X-Forwarded-For HTTP value

how can I solve this problem?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8715
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cache Server

Wed Sep 09, 2009 1:45 pm

you can solve this by disabling RouterOS proxy
 
trottolino1970
Member Candidate
Member Candidate
Posts: 192
Joined: Thu May 17, 2007 4:25 pm
Contact:

Re: cache Server

Wed Sep 09, 2009 1:50 pm

you can solve this by disabling RouterOS proxy


ahahahahaha
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8715
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cache Server

Wed Sep 09, 2009 3:31 pm

what's funny? it's by design. if you want to spoof users' IPs - you should use external Squid with Balabit TProxy