Hi All.. I'm so glad that i found this site, hope i can learn many things from seniors in this forum
Guys, i've just setup an ISP with former clients is my internet cafes. I use MT to route my network. Here is the configuration:
Public Network GW------| |---National Network GW
------------------------- Router--------------------------
Proxy Server-----------| |-----------Clients
Proxy Server, Router and Clients is on a network LAN
the BW for public is 512K and national is 5M
So i have 3 interfaces on the router, Public, National (Local), and LAN
I do the following setup:
- Route all the dst-address to specific GW
- I use a computer act as a proxy server (running FreeBSD)
- Every Clients which connect through port 80 will be redirected to the proxy server
- I use queue tree to limit bandwidth for each routing (to Public and to National Local) as the LAN is looseless BW
- The proxy server works only for the address list that route through Public GW
My problem :
- As the proxy server act as mediator for the client and public, the proxy always uses the highest bandwidth (in this case all of the public BW)
- When a client try to test bandwidth, always get small amount, and ping to a server usually time-out, buuuuut ... when browsing not that slow because connection to the proxy is in LAN
- When i disable the redirection to the proxy server, i see that queue tree isn't very effective ( i want a single client got 64 kb, but ended up got small amount, because another client uses the bandwidth)
I use queue tree like this --> limit at 64k max limit 512k
- The proxy isn't deliver packages like what LAN usually do (a.k.a slow)
My question :
- Is there any way to utilize the proxy so it isn't use high bandwidth, so the client could use the rest, because if i set proxy get high bandwidth, a client couldn't even ping to yahoo for example
- What is the effecient and effective way to use external proxy, and queueing BW for client
- Is my setup is quite right?
Thx for all the upcoming answers
Every bit of ur answer would please me