Re: port forwarding

From: Ed J. Aivazian (stealth_at_arminco.com)
Date: 01/16/04

  • Next message: Andy Barss: "disconnecting when idle problem"
    Date: Fri, 16 Jan 2004 13:01:52 +0400
    To: Payal Rathod <payal-ssh@staticky.com>
    
    

    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
    

  • Next message: Andy Barss: "disconnecting when idle problem"

    Relevant Pages

    • Re: port forwarding
      ... are there strong reasons for using squid ... configure your browser to use his proxy server directly. ... if you wish ssh to bind to all the interfaces you have on your ... > PR> A friend of mine and me are trying to use port forwarding so that I ...
      (SSH)
    • Re: ssh through squid proxy
      ... SecureCRT and Entunnel from VanDyke (Entunnel is designed precisely for ... and also ssh.com's non-commercial ssh version to do this. ... where <squid> should be substituted with the squid box's hostname. ... make is that squid doesn't know or care about the tunnel. ...
      (SSH)
    • Re: ssh through squid proxy
      ... I haven't dealt with squid, but by experience is that HTTP proxies ... typically restrict remote ports for the CONNECT method. ... > ssh from windows or open ssh from linux a ssh connection through a squid ...
      (SSH)
    • Re: Client-server with perl?(need some useful progs for squid proxy)
      ... > fact I was in the peak of learning perl but then I ... > first assignment is to administer our squid ... > my boss updates a squid config on one machine, ... Can you do it via SSH? ...
      (perl.beginners)
    • Re: Net::SSH expect like interface
      ... it could use the ssh channel interface directly and so not rely on a ... useful to delegate to the underlying socket, the ssh session, or the shell ... def initialize ... # just to return whatever data was sent so far, or nil if no data was ...
      (comp.lang.ruby)