Page 1 of 1
dividing browsing and downloading
Posted: Wed Feb 27, 2008 1:48 pm
As Salam U Alikum,
i want to discuss a senario, i've 2 DSL modems, from 2 differnet ISP, one is 512 KB and other is 1024 KB, i want to bound broswing and messenger conectivity on 512 KB link and downloading TCP, UDP, P2P, each and everything on 1024 KB link. for that i've to make 2 squid servers?
what would be the senario and what would be the configuration?
kindly help me in this.
Thanks & Regards
waiting for reply.
Posted: Wed Feb 27, 2008 4:12 pm
use mikrotik and do packet shaping as per your requirement as it won't be much difficult.
use delay pools for your bandwidth slicing in squid
Posted: Wed Feb 27, 2008 6:54 pm
Assalam o allaikum brother
use delay pools for band width slicing
seperate surfing and downloading to limits
Posted: Thu Feb 28, 2008 11:10 am
delay polls can divide browsing and downloading how, i want to implement that one of my user will get 4.0 kb speed, 2 user will get 9.0 kb speed, boss will get 50kb speed.
how can i divide on ip bases and mac basis, i am really greatful if you will clear my doubts.
Posted: Thu Feb 28, 2008 11:12 am
As Salam U Alikum,
mikrotik is free?
Posted: Thu Feb 28, 2008 12:43 pm
Nop It is not!
Posted: Thu Feb 28, 2008 12:48 pm
Whats other alternative then.
Two ISP links in 1 proxy
Posted: Fri Feb 29, 2008 10:48 am
Ok then lets do this by placing two squid machines and here is the procedure you going to use.
Here i will let you know how to do it by placing two squid server.
Place 2 systems and install squid on both of them and make them cache peer and put 1 dsl in each system. And in your primary proxy server with which your users will connect you define that all the down loadings that users can do like .exe .avi .rm .jpg etc will come from 2nd proxy server which is connected to other dsl and the browsing and yahoo messenger and all other things will be come from internet/dsl directly connected to your primary proxy.
Here are the steps to do so.
cache_peer < 2nd proxy ip > parent < proxy port> 0 no-query
acl downloads "path/to/downloads.txt"
cache_peer_access < 2nd proxy ip > allow downloads
cache_peer_access < 2nd proxy ip > deny all # assuming acl for all src address is listed above
Code: Select all
Hope this will help you out noman.
Posted: Sat Mar 01, 2008 12:06 pm
my simple question is that squid can be used as bandwidth manager, if yes how?
From squid can we divide bandwidth to users and ips.
One thing I want to run squid with ldap.
Posted: Sun Mar 02, 2008 12:41 am
well packet shaping is possible in squid via delay pools but i have terrible experience in that as it sucked my server whole physical memory while i was shaping packets using squid. thought here is the link which will help you to do so
if you want to limit bandwidth only then use script provided by mudassir just you will be needing to edit it a bit and it will work fine for this purpose.
Posted: Tue Mar 04, 2008 12:43 pm
that means no other solution
Posted: Tue Mar 04, 2008 8:23 pm
Why you want to shape your bandwidth in squid while you having other option within same linux box???