[lug] Fwd: Can't get port forwarding to work right.

Peter Hutnick peter at fpcc.net
Tue Mar 26 14:50:35 MST 2002


I sent the following to the SSH mailing list as Security Focus and got no 
replies :-(

Maybe someone here can set me straight?

-Peter

----------  Forwarded Message  ----------

Subject: Can't get port forwarding to work right.
Date: Sun, 24 Mar 2002 00:16:27 -0700
From: Peter Hutnick <peter at fpcc.net>
To: secureshell at securityfocus.com

Hello.

My situation is that I have a notebook I use around the house on 802.11b and
I desktop/server connected to my AP.  Junkbuster is running on that server on
port 8000.  Since I am going to proxy anyway I figure I may as well ssh
tunnel the connection (and this is a dry run for POP3 and friends).

I'm doing "ssh -L 80:[server]:8000 [server]" which seems right.  When I do
this it gives me a root shell on the desktop/server system.  But no junk gets
busted.  I tried substituting 8001 for 8000, which, AFAIK, should break my
web browsing ability on the notebook, since there is nothing listening on
[server]:8001.  It has no effect, which is to say I can still browse.

Tried substituting -R for -L, but that seems to be backwards.  Anyway, no
effect.

I'm clearly just not getting something.  Any help is appreciated.

Thanks,
Peter



More information about the LUG mailing list