SQUID, a free web proxy/cache, is able to do what you want. I think it is probably part of your distro already. Just install it from the CD. If this needs clarification I am sure we can collect some volunteers to set it up.