Re: port forwarding

From: Darren Tucker (dtucker_at_zip.com.au)
Date: 01/16/04

  • Next message: Martin Sarsale: "Re: port forwarding"
    Date: Fri, 16 Jan 2004 13:01:20 +1100
    To: Payal Rathod <payal-ssh@staticky.com>
    
    

    Payal Rathod wrote:
    > A friend of mine and me are trying to use port forwarding so that I can
    > use his server for browsing the net. He has Mandrake Linux, squid and ssh
    > installed. We both are very fresh to ssh.
    > His squid runs on port 3128.
    >>From my machine I did,
    > ssh -2 -C -l payal -L 1080:127.0.0.1:3128 <ip>
    > and logged to his machine. Then I fired up my browser and pointed the
    > proxy to 127.0.0.1:1080. But when I type any URL I get in the windows
    > where I had ssh running,
    > 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
    >
    > What is wrong? I am using Mandrake 9.2. Thanks a lot and eagerly waiting
    > for some input on this.

    It looks very much like squid isn't running on the server, or it's
    listening on another port. Check squid.conf and check the process list
    to make sure it's running.

    -- 
    Darren Tucker (dtucker at zip.com.au)
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
         Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.
    

  • Next message: Martin Sarsale: "Re: port forwarding"

    Relevant Pages

    • Re: ipfw and nmap
      ... > even be correct but I have a bsd box that is simply providing me SSH ... add allow tcp from any to me 22 setup in via fxp0 keep-state ... Note too that there is nothing to prevent port scanners simply setting ... the 'SYN' flag in the probe packets they send to your server. ...
      (freebsd-questions)
    • Re: Remote Desktop directly to another computer on the network
      ... default port... ... And there is no reason for me to believe that ssh ... When I have a multibillion company I will use the key pair, ... WinSCP for that to access my home SSH server. ...
      (microsoft.public.windowsxp.work_remotely)
    • Re: need help for setting SSH Server for Windows XP
      ... In my windows firewall proper ports are opened. ... Changing from port 22 to ports 80, 443 also doesn't give any results. ... static LAN IP of the server PC. ... It is *NOT* a valid test to call the SSH server PC from another ...
      (microsoft.public.windowsxp.work_remotely)
    • Re: Port Forwarding -- Checking to be sure I understand it
      ... They run an ssh ... server and VNC service. ... If you want to run the tunnel over some port other than 22 (the ... restrictive firewalls that deny all incoming connections and block most ...
      (comp.security.ssh)
    • Re: Which shell / terminaltype for SSH Tectia for Windows?
      ... My remote Windows2003 server runs SSH Tectia 4.05 Server. ... That's the SMTP port, for email, not the port for SSH. ... the output from vim is not shown to me, ...
      (comp.security.ssh)