PDA

View Full Version : Using ssh tunneling to get around ISP-blocked ports


noleli2
2004-07-26, 12:53
My home ISP has recently blocked port 139 (SMB). I would like to still be able to mount my home computer's home folder as a network drive at work (Windows XP). Is there some way I can have all the SMB traffic outside my house be on a different port so it gets let through?

I tried (from work, with putty):
ssh -L 139:127.0.0.1:145 (where 145 is a random unused port)
Then I tried to mount \\127.0.0.1\me, and I set up my home router to forward external requests on :145 to my house's internal :139.

I can see where there are a few flaws with this (mainly that I'm SSH'ing to my computer not my router), but I cannot figure out what might work. Thanks.