setting up squid cache

Increasing demand of bandwidth on my network means i have to consider setting up squid..

whiles checking through various tutorials, i realized that I will need to ;

  1. connect a cable from one of the LAN ports on my ADSL modem to the squid unit(in my case ubuntu on pc) and

  2. connect another cable from another LAN ports from my ADSL modem to my mikrotik router.


    now in my case, i get my internet through a wireless bridge so i simply don’t have an ADSL modem on my side just a cable
    to connect to a router or directly to a pc.

My question is..should i SPECIFICALLY buy an ADSL modem and plug my internet cable to it so i can use the LAN ports or
I can get any good router to connect my internet cable to it and use its ports?

all help appreciated

regards,
Max

Gday Max

You could simply use the Web Proxy in the Mikrotik or go further and still use the Web Proxy but point it to an external Squid (PARENT) on or external to your LAN. (IP → Web Proxy → General)
Make Sense ? (Do you want more detail ?)

you can do it in this way :

*connect your WAN to RB & from it to switch (we will name it cache switch )

*connect your external cache to cache switch

*now we will have RB for end users where we will connect first port to cache switch & the another ports to end users

the model of RB & switch depend on the traffic & no. of end users…

hello “themenaceAU”, that is exactly what i’m trying to accomplish..

I tried using the Web Proxy in Mikrotik but it seems that the there is too little space on my RB (RB951-2N) to accomplish much.

that is why i want to point to an external squid.

Can you give me more details on that setup? preferably i would like to use a ubuntu squid but I’m open to any other suggestion

thanks

Ultimately, i think am looking for something like this. where all the traffic redirect to the linux cache server to:

  1. retrieve dns cache if available or
  2. if not availabe go to original ‘server’ and retrieve site then save a copy on the cache server…

so i can make my internet fast

   WAN LINK
         |
 -------------             ---------------------
| Mikrotik Box |          |   Cache Linux Server  |
 -------------            ----------------------
         |                   /
         |                 /
 ----------------------
| Switch/wireless LAN |
 ----------------------
    |           |          |       
  Client1   Client2    Client3   etc.

is the above diagram correct? and what are the configurations for the Cache Linux Server.

Great help or link to a help will really be appreciated.

thanks very much

regards,
max

you welcome :

edit : in Router Board 2 ether1 ip 192.168.20.3
Squid Withe Mikrotik.jpg

I`m using squid cache in my network,its great. I connected the WAN directly to cache server then from cache server to mikrotik,and its working fine…

One main WAN is enough.

I think the better is to separate the direct connections from port 80 connections

in your case you send every think to squid server…
in this case the direct connections will be slow because of the requests and traffic that are processed in the cache server

i’ll get some work done and provide feedback or any challenge i may face..

thanks