Re: port forwarding

From: Martin Sarsale (msarsale_at_buenosaires.gov.ar)
Date: 01/15/04

  • Next message: Ed J. Aivazian: "Re: port forwarding"
    To: secureshell@securityfocus.com
    Date: Thu, 15 Jan 2004 16:01:46 -0300
    
    
    

    On Thu, 2004-01-15 at 15:37, Martin Sarsale wrote:
    > > 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
    > >

    are you sure that his squid is running on that interface? tell him to
    try:
    telnet 127.0.0.1
    on his box, maybe squid is running on one of the ethX interfaces

    if he's running squid on the other interface, you have 2 options:
    1) configure squid to run on 127.0.0.1 too
    2) ssh -2 -C -l payal -L 1080:LOCAL_NOT_LOOPBACK_ADDR:3128

    
    



  • Next message: Ed J. Aivazian: "Re: port forwarding"

    Relevant Pages

    • Re: a very strange netstat output and problem when using transparent proxy
      ... > I've encountered a very strange situation about two hours ago. ... I use> squid as transparent proxy and forward all the packets from port 80 to> port 8000. ... Problem is, first of all, I have a lot of ierrs on interface> when looking to interface stats using netstat. ... hardware error. ...
      (freebsd-net)
    • Re: ipfw - natd - squid - 3 Nics - 1 FBSD 5.1 server and routing question
      ... As it was mentionned in the original mail, he had set-up his squid to ... use the IP of the second ISP, ... interface is not advertised on the other interface. ...
      (freebsd-net)
    • Re: Squid help
      ... >I'm trying to set up Squid on my computer, ... Here is my log file from when it started: ... Yes they are normal, it means ANY interface, so if you have eth0, lo, ... If you have a the firewall setup you will have to open port 3128 to ...
      (Fedora)
    • Re: can i use Secondry ip on firewall
      ... > I am using firewall-jay and Squid. ... > And use the squid for this subnet to access ... I don't know what firewall-jay ist but sure you can bind a secondary ... adress to your interface. ...
      (Debian-User)
    • Re: Squid Overkill? (Speed Up Web Surfing)
      ... Each user's browser already maintains a cache of web ... Squid cache. ... The first local user to access a web site on a distant web server will ...
      (comp.unix.bsd.freebsd.misc)