Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > tunneling for work

tunneling for work
Thread Tools
Mac Enthusiast
Join Date: Sep 2003
Status: Offline
Reply With Quote
Apr 22, 2004, 03:44 PM
 
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?
| MBA Student | MacAddict | CarAddict | PhotoNut | Dork | PhishHead |
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Apr 22, 2004, 05:05 PM
 
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.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Bruck  (op)
Mac Enthusiast
Join Date: Sep 2003
Status: Offline
Reply With Quote
Apr 23, 2004, 09:20 PM
 
squid is what i want to run but at work it's a windows xp machine
| MBA Student | MacAddict | CarAddict | PhotoNut | Dork | PhishHead |
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:31 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2