Community discussions

MikroTik App
 
juansh28
just joined
Topic Author
Posts: 4
Joined: Wed May 26, 2010 6:16 pm

Squid, web proxy and bandwidth control

Wed May 26, 2010 11:25 pm

Hello
I want to implement web cache, using a Squid in transparent mode.
I 'm using the follow example:
http://mustnofee.com/tutorials/60-the-e ... mple-queue
My mikrotik is a RB1000 with 64 hdd.
But according to this site:
http://www.mikrotik.com/documentation/m ... ransparent
"It is recommended, that at least 100MB HDD is used when running web proxy. Do not try to run web-proxy on a 32 or 48 MB FlashDisk! "
my question are
Can i configure web proxy option in my mikrotik?
How many hard disk do i need in the mikrotik?
Can I increase the HDD of my mikrotik?
In this diagram
INET----mikrotik-------client
|
Squid
can I control the bandwidth per client in the mikrotik ? the bandwith control has precedence over the web proxy redirection or I should define bandwidth control per client in Squid too?
 
juansh28
just joined
Topic Author
Posts: 4
Joined: Wed May 26, 2010 6:16 pm

Re: Squid, web proxy and bandwidth control

Sat May 29, 2010 4:37 pm

Searching in this site . I found out this post:
http://forum.mikrotik.com/viewtopic.php?f=2&t=34186
Can i conclude that RB1000 isn't working well with Web proxy function? or Someone has another experiencie with this feature and hardware?
What is the hardware and software recommended for work with at least 200 user and the Web proxy function?
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Squid, web proxy and bandwidth control

Mon May 31, 2010 11:17 am

Hi,

it's not a problem with RB1000. It's a problem with all routerboards, due to the read/write "problems". The boards doesn't have native IDE controller.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Squid, web proxy and bandwidth control

Mon May 31, 2010 1:51 pm

1) Run transparent MikroTik Proxy on the RouterBOARD 1000.
Setup Parent proxy and forward all the requests from RouterBOARD 1000 to parent proxy.

2) Run proxy on RouterBOARD 1000 CF, which is not very fast, but it is much better then run proxy on RouterBOARD NAND.
 
juansh28
just joined
Topic Author
Posts: 4
Joined: Wed May 26, 2010 6:16 pm

Re: Squid, web proxy and bandwidth control

Wed Jun 02, 2010 3:47 pm

thanks Ibersystms and sergejs
if I install RouterOS in a x86 platform could i have a better performance? or Are there some recomended platform for web proxy use?

According to this article, I can conclude that after mikrotik router redirect the traffic to parent proxy, the router apply bandwidth control over the clients, can't I?
http://www.mikrotik.com/documentation/m ... Queue.html
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Squid, web proxy and bandwidth control

Wed Jun 02, 2010 4:07 pm

:lol: This document is:

DRAFT

Document revision 15-May-2002


I think you can make a good web proxy with a x86.
 
rmichael
Forum Veteran
Forum Veteran
Posts: 718
Joined: Sun Mar 08, 2009 11:00 pm

Re: Squid, web proxy and bandwidth control

Thu Jun 03, 2010 4:32 am

My suggestion is use squid >=Squid 2.7 (not 3.x) and read

http://wiki.squid-cache.org/SquidFaq/WindowsUpdate
http://wiki.squid-cache.org/ConfigExamp ... micContent (already in squid 2.7)
http://wiki.squid-cache.org/ConfigExamp ... nt/YouTube

http://cachevideos.com/ costs money but might be cost effective (earlier versions were $10 or free).

Who is online

Users browsing this forum: 4l4R1, Ahrefs [Bot], emunt6, Google [Bot], GoogleOther [Bot], Renfrew and 73 guests