Re: port forwarding
From: Dave Markham (dave.markham_at_fjserv.net)
Date: 01/19/04
- Previous message: Chris Odell: "RE: disconnecting when idle problem"
- In reply to: Ed J. Aivazian: "Re: port forwarding"
- Next in thread: Payal Rathod: "Re: port forwarding"
- Reply: Payal Rathod: "Re: port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: "Ed J. Aivazian" <stealth@arminco.com>, "Payal Rathod" <payal-ssh@staticky.com> Date: Mon, 19 Jan 2004 17:37:43 -0000
I think you need his ip instead of 127.0.0.1. It has been ages since I done
this but I have a note of doing it like this :-
ssh -l <user> -f -N -T -L 2000:<remote machine>:<remote port> <remote
machine>
Then connected my browser to localhost:2000
The -L is your listening port and forwarding it to <remote machine>:<remote
port> , then the remote host to create the tunnel too.
May be worth a try
Dave
----- Original Message -----
From: "Ed J. Aivazian" <stealth@arminco.com>
To: "Payal Rathod" <payal-ssh@staticky.com>
Cc: <secureshell@securityfocus.com>
Sent: Friday, January 16, 2004 9:01 AM
Subject: Re: port forwarding
> Hello Payal,
> Looks nice..
> let's take another matter, are there strong reasons for using squid
> through ssh tunel?
> If no, configure your browser to use his proxy server directly.
> If yes, try telnet-ing to his <ip> 3128. If you still have 'connection
> refused' there is no daemon to listen tcp 3128.
> Else, there does not seem to be any other explanation.
> Note: if you wish ssh to bind to all the interfaces you have on your
> machine, not only localhost, you should use -g option.
>
> Thursday, January 15, 2004, 7:20:08 PM, you wrote:
>
> PR> Hi,
> PR> A friend of mine and me are trying to use port forwarding so that I
can
> PR> use his server for browsing the net. He has Mandrake Linux, squid and
ssh
> PR> installed. We both are very fresh to ssh.
> PR> His squid runs on port 3128.
> >>From my machine I did,
> PR> ssh -2 -C -l payal -L 1080:127.0.0.1:3128 <ip>
> PR> and logged to his machine. Then I fired up my browser and pointed the
> PR> proxy to 127.0.0.1:1080. But when I type any URL I get in the windows
> PR> where I had ssh running,
> PR> channel 2: open failed: connect failed: Connection
> PR> refused
> PR> channel 2: open failed: connect failed: Connection refused
> PR> channel 2: open failed: connect failed: Connection refused
> PR> channel 2: open failed: connect failed: Connection refused
>
> PR> What is wrong? I am using Mandrake 9.2. Thanks a lot and eagerly
waiting
> PR> for some input on this.
>
> PR> With warm regards,
> PR> -Payal
>
>
>
>
>
>
> --
> Best regards,
> Ed mailto:stealth@arminco.com
>
- Previous message: Chris Odell: "RE: disconnecting when idle problem"
- In reply to: Ed J. Aivazian: "Re: port forwarding"
- Next in thread: Payal Rathod: "Re: port forwarding"
- Reply: Payal Rathod: "Re: port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|