[clue-tech] proxy server

Adam bultman adamb at glaven.org
Mon Oct 31 16:40:14 MST 2005


I've done the same kind of thing with SSH tunnels and squid.

I set up squid on my workstation at home. By default, it should work out
of the box (at least, in ubuntu and gentoo it did).  You can tweak
settings if you want.


SSH to your home machine, forwarding port 3128 from localhost to
localhost on the other side:

ssh user at your.computer.net -L 3128:localhost:3128

In netscape, or firefox, or whatever, set your proxy to be
localhost:3128 , and it should work fine. Note however: all traffic will
now originate from your proxy server instead of your workstation, so
local intranets probably won't work .

Adam

Keith Hellman wrote:

>On Mon, Oct 31, 2005 at 03:53:54PM -0700, Jason S. Friedman wrote:
>  
>
>>I have a machine at home that I can reach from my machine
>>at work (both run Linux).
>>
>>I'd like to surf the web, using my machine at home as a
>>proxy, such that my activity would not be reviewable.  In
>>other words, someone at the office reviewing my network
>>usage would only see repeated requests to my home machine.
>>
>>Are there any online resources that describe how this
>>might be done?
>>
>>    
>>
>
>I have a similar need at school.  We have Wikis only accessible from
>within the campus network so I can't work on them when I'm at home.  The
>solution I use is to setup a SOCKS proxy.  The script I use looks like
>this:
>  <bof>
>  #!/bin/bash
>  # you will also need '127.0.0.1 toilers.mines.edu toilers' in /etc/hosts
>  echo "Configure a SOCKS proxy on localhost:8000 to reach the toilers page."
>  exec ssh -l khellman -D 8000 -N alamode.mines.edu
>  <eof>
>
>As you can see, I use ssh to setup the tunnel on a Mines machine called
>alamode which is exposed to the internet.
>
>After I run this script I setup firefox to use a SOCKS proxy on
>localhost:8000 (Edit->Preferences->Connections Settings->Manual Proxy
>Configuration ...).
>
>I think this should work for you, since I frequently forget to turn the
>proxy & tunnel off yet still surf the web AOK (that is to say, non
>mines.edu sites).
>
>NOTE:  ignore the comment in my script about /etc/hosts entries - this
>is only so that my bookmarks work regardless of whether my notebook is
>at home or in the school network.
>
>HTH
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>CLUE-tech mailing list
>CLUE-tech at cluedenver.org
>http://cluedenver.org/mailman/listinfo/clue-tech
>

_______________________________________________
CLUE-tech mailing list
CLUE-tech at cluedenver.org
http://cluedenver.org/mailman/listinfo/clue-tech



More information about the clue-tech mailing list