[TriLUG] need help in port forwarding

Payal Rathod payal-linux at staticky.com
Thu Jan 15 12:06:10 EST 2004


Hi,
Thanks a lot for the mails.

On Thu, Jan 15, 2004 at 10:59:33AM -0500, Jon Carnes wrote:
> > 
> > ssh -l payal -L 1080:127.0.0.1:3128 <ip>
> 
> Why are you using ssh to do local port forwarding (127.0.0.1) - or was
> that just an example?

No, it is real thing. What do I need to put in there?
I did,
ssh -l payal -L 1080:<ip address of friend's machine>:3128 < ip address
of friend's machine >


But same error,
channel 2: open failed: connect failed: Connection
refused
channel 2: open failed: connect failed: Connection refused
channel 2: open failed: connect failed: Connection refused
channel 2: open failed: connect failed: Connection refused

On his university account I can do it using,
ssh -l anand -L 1080:localhost:1080 <university ip address>


What am I missing?

-Payal

-- 
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com



More information about the TriLUG mailing list