Results 1 to 5 of 5

Thread: squid cache to reduce wireless modem usage

  1. #1
    Join Date
    Dec 2006
    Beans
    21

    squid cache to reduce wireless modem usage

    Hi All,
    I live in a rural area and all of our internet traffic courses through a wireless modem with a 5gig/month limit. The modem is plugged in to a cradlepoint router which serves up wifi as well as connecting our wired machines.

    I was wondering how it might be possible to set up a squid proxy cache to reduce the amount of data that is repeatedly downloaded when browsing.

    I have a inkling of how this might work if one of the wired machines served as a gateway, but is it possible with a router/modem combo serving a gateway?

    Thanks
    Allan

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    11,885
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: squid cache to reduce wireless modem usage

    Take a look at Dan's Guardian and see how it is setup. If you can put the squid box between the router and the internal network, that's the easiest thing, but I believe DG configures squid to work on an outboard server as well.

    That said, don't expect miracles from Squid. First, your browsers will already be caching a lot of commonly used items. Just as a test, I looked at the number of HITs and MISSes in the logs from a Squid cache I manage for a medium-sized organization. In ten days, there were about 1.4 million misses and 190,000 hits.

  3. #3
    Join Date
    Jan 2009
    Location
    Norway
    Beans
    23
    Distro
    Edubuntu 8.04 Hardy Heron

    Re: squid cache to reduce wireless modem usage

    If wireless to wireless is needed, I would use a old computer with debian + two wireless cards connected.

    If not, same procedure but without wireless acting as AP and cabled net instead..

    You connect to net with one, and configure the other one to act as AP.
    (WPA2 (AES), Dont use WEP as you wouldnt want people stealing your precious gigas)

    Install and configure squid and your good to go. (almost plug and play)

    Not sure if it would be worth the hassle though, squid would probably not help very much in a small network.. but sure its possible. And could be a very good learning experience

    Bonus: That old computer could do a lot of other useful stuff too.. Music server (MPD), Samba+NFS fileserver, CUPS or whatever..

  4. #4
    Join Date
    Dec 2006
    Beans
    21

    Re: squid cache to reduce wireless modem usage

    Thanks,
    I thought that it might not help a lot, but at the prices that wireless corps charge for >5gb usage, a little bit of bandwidth caching might add up to real money.

    As for a dedicated gateway, I agree it could do a lot of things, but I already have too many boxes (several myth boxes) to maintain and pay the the power bill for

    a.

  5. #5
    Join Date
    Apr 2006
    Location
    Belgium
    Beans
    844
    Distro
    Hardy Heron (Ubuntu Development)

    Re: squid cache to reduce wireless modem usage

    Your squid doesn't have to be inline. You can just install squid on a PC/server besides the other clients and have them configured to use a proxy for the network traffic.

    If you want to enforce the proxy usage, just block all internet access from your LAN, except for the squid IP address.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •