Re: "Connection refused" unless port open
From: Bob (bob.lockie.NOSPAM_at_mail.com)
Date: 04/28/04
- Previous message: Darren Dunham: "Re: ssh X-forwarding not working aix"
- In reply to: Richard E. Silverman: "Re: "Connection refused" unless port open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 Apr 2004 12:10:16 -0400
On 04/28/04 00:30 Richard E. Silverman spoke:
> This is way too vague to diagnose. Give a complete & detailed description
> of the hosts, routers, packet filters, and SSH commands involved, as well
> as relevant debug traces.
>
Machine A is on the Internet and runs:
ssh -vvv -l root -L 25:B:25 -L 110:B:110 B
debug1: Connection to port 110 forwarding to B port 110 requested.
debug2: fd 9 setting TCP_NODELAY
debug2: fd 9 setting O_NONBLOCK
debug2: fd 9 is O_NONBLOCK
debug1: channel 3: new [direct-tcpip]
channel 3: open failed: connect failed: Connection refused
debug1: channel 3: free: direct-tcpip: listening port 110 for B port
110, connect from 127.0.0.1 port 43148, nchannels 4
debug3: channel 3: status: The following connections are open:
#2 client-session (t4 r0 i0/0 o0/0 fd 6/7)
#3 direct-tcpip: listening port 110 for B port 110, connect from
127.0.0.1 port 43148 (t3 r-1 i0/0 o0/0 fd 9/9)
debug3: channel 3: close_fds r 9 w 9 e -1
Machine B is a server behind a Linksys WRT54G router with ports
22/tcp, 25/tcp, 53/tcp, 80/tcp, 110/tcp
open to the inside LAN.
The router has ports
22/tcp, 25/tcp, 53/tcp, 80/tcp, 443/tcp
open to the Internet.
If I open port 110 on the router, I can forward port 110 from B.
Is this better?
-- ------------------------------------------------------- Remove .NOSPAM from my email address to reply directly.
- Previous message: Darren Dunham: "Re: ssh X-forwarding not working aix"
- In reply to: Richard E. Silverman: "Re: "Connection refused" unless port open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|