0

I have a home network with 4-5 clients, and a server. The server runs Squid 2.7. The clients are all configured to use squid as a proxy server. I would like to be able to establish an SSH tunnel with dynamic port forwarding (basically set up a SOCKS proxy), and make all of squid's traffic be tunneled through the SSH connection (or SOCKS proxy) to the remote machine.

I don't think there is an option within squid's config files to do this, so I think that I might have to use iptables - but I am unsure of how to construct such a rule.

If this is not possible, then I might be able to install squid on the remote server, and then use cache_peer. However, I would like to avoid that if at all possible. The fewer the services the better (in my book) - and performance isn't my HIGHEST priority here. I would also like to avoid upgrading to Squid 3.0 at this point... although if it is the best option, I will consider it.

user9517
  • 115,471
  • 20
  • 215
  • 297
Joseph Redfern
  • 197
  • 1
  • 5

1 Answers1

0

I ended up using OpenVPN. I've got another question about that.... but if I end up asking it, I will post separately.

Joseph Redfern
  • 197
  • 1
  • 5