Originally posted by Bruck:
I would like to set up a machine that i can SSH into that has a proxy running on my home network so that I can tunnel thru it during the day from work.
Can my mac do this easily?
So:
1) You can SSH from work to home
2) Your home machine has SSH on it
3) You want to run a web proxy on your home machine and use it on your work machine
4) Your work machine and home machines are both Macs running OSX
Do I have it right?
If so, then it's pretty easy.
1) Install the proxy on your home machine. Squid is a good http proxy. Assume for now it runs on port 8080 of the home machine
2) From the work machine, set up a local port forward to the home machine. To do this from the work machine:
ssh -f -g -L 8080:localhost:8080 username@home_machine_ip "sleep 86400"
This will set up a local port on the work machine that points to the local porton the home machine. Then you just tell your work machine to use localhost:8080 as its proxy.