I wanted to add Squid to my home network for web caching. This is the setup I 
was thinking about.

 
    +-------+      +--------+       +----------+
    | CABLE |      | BRIDGE |       |  ROUTER  |
    |       +------+        +-------+          |
    | MODEM |      | SQUID  |       |          |
    +-------+      +--------+       ++-+-+-+-+-+
                                     | | | | |
                             +-------+ | | | +-------+
                             |         | | |         |
                             |      +--+ | +--+      |
                             |      |    |    |      |
                        +----+ +----+    |    +----+ +----+
                        | PC | | PC |    |    | PC | | PC |
                        |    | |    |    |    |    | |    |
                        +----+ +----+    |    +----+ +----+
                                         |
                                     +---+----+
                                     | SWITCH |
                                     |        |
                                     |        |
                                     +-+---+-++
                                     | |   | |
                             +-------+ |   | +-------+
                             |         |   |         |
                             |      +--+   +--+      |
                             |      |         |      |
                        +----+ +----+         +----+ +----+
                        | PC | | PC |         | PC | | PC |
                        |    | |    |         |    | |    |
                        +----+ +----+         +----+ +----+
 
With all the different connections I thought that the only place that made 
sense to put Squid, where it could catch all the traffic, would be between the 
Cable Modem and the Router. Would this work?
 
I've tried setting it up for the last two days, but I've had no luck. I can 
make a bridge on the Squid box so that everyone can still access the internet, 
but every time I use iptables to redirect traffic to Squid, web pages stop 
working.
 
I've tried several different Squid configurations. Frankly, the shear number of 
options is overwhelming. I tried to follow 
http://wiki.squid-cache.org/ConfigExamples/Intercept/DebianWithRedirectorAndReporting,
 but that didn't get me anywhere. A lot of the guides on the internet talk 
about routing tables and DNS; like the one above, but the Squid Bridge box 
doesn't know that information, as the gateway and DNS server are supplied by 
the ISP via DHCP to the Router. I just want the Squid Bridge to sit 
transparently in the middle, not to worry about routing and DNS, as that has 
already been taken care of by the Router.
 
Of note, is that my access.log doesn't ever show anything, ever; not even one 
line. Is there supposed to be something in there?
 
Any help would be greatly appreciated.

Reply via email to