LARTC
[Top] [All Lists]

[LARTC] Squid behind a ssh tunnel

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Squid behind a ssh tunnel
From: "Ali Sattari" <ali.sattari@gmail.com>
Date: Sat, 23 Jun 2007 23:35:48 +0330
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=MlptR/9vDnMvvZ4cPSO5Tr89YKTl4yBjYAkSKo/gZWPr+v4geOq4CYTRogt70+a0QSdwuyczDDvHCSOG0N5SJOvFcR9A7lBrtmL3QnW2w4EFI+OL5yiKvDAutA3kH6A/x+Zm1JRXm4Fm1aDcr7l7HXehusPqCcPs3qgZ6FAqnG4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mv1lu1QVdu8bhLv6qexlgmdrg/ENsrImj1gg5jmH+3s0qi5BIQwGcSdeOd87mSGKifCNUdcb1TYZA2dWwUVqNAucNwxf7pVKfZI6WGbbrhc6I/PdG9ODFyx5or3ExKQdtF9qgbq2Vof3Sw0d5D0dtmF+VKiSeyQE58q1mYzjCBk=
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
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@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
<Prev in Thread] Current Thread [Next in Thread>
  • [LARTC] Squid behind a ssh tunnel, Ali Sattari <=