Squid behind a ssh tunnel

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a small network and internet connection is shared through a gateway (running ubuntu/linux)
Gateway has squid installed as cache server and other network users connect to gateway:3128 to access internet.
now, i need to run squid behind a ssh tunnel to internet.
how can i make squid to use sock5 proxy connection through ssh tunnel to access internet (instead of direct connections)?

the simple form is like this:
network client ---> |gateway(squid)| ----ssh tunnel (socks5 proxy)---->  |another server out of local network over internet| ---> internet!

any squid config/trick or i should try iptables and ...?

Thanks in advance.
--
Ali Sattari (AKA Ali ix)
http://corelist.net
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux