Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Tunnelling Squid Proxy

From: Atro Tossavainen <atossava(at)cc.helsinki.fi>
Date: Fri Nov 29 2002 - 04:10:43 EST


Tim,

> I have a remote (outside-the-U.S.) user for whom X-forwarding is

Yes, it is perfectly doable.

Make SSH forward any port on the user's local host to your proxy and the correct port. Make the browser proxy everything through "localhost" at the local port they specify. That's all.

Assuming that "mycache.example.com" has a Web proxy on port 8080, and machine.example.com (which may of course be the same as mycache, or a different machine inside your network) has SSH login facilities, you could do this:

outsidemachine $ ssh -L 8080:mycache.example.com:8080 machine.example.com

While the SSH link exists, the user can proxy through "localhost:8080".

(SSH2 also allows you to use the "-f" option, which sends the ssh  session into the background without the need for an interactive shell  to be open.)

Do you need help?X

Using compression with SSH is a good idea since HTML files tend to compress very well.

I do this all the time from my home cable modem connection when I need to access services that are only available inside the University network.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . iki . fi / atro . tossavainen / >

File attachments NOT welcome unless agreed to beforehand.
Received on Fri Nov 29 11:14:14 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:51 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library