ssh won't work through router/firewall

From: pt (mnemotronic_at_yahoo.com)
Date: 04/26/04


Date: 25 Apr 2004 22:24:56 -0700

I have a RHL 9 box I'm trying to ssh to (eventually from work). From
the box to itself, and from an XP box on the same private network I
can connect, but when I connect to my comcast-assigned IP, the
connection doesn't work. I have enabled port 22 forwarding on my
router.

RHL box == 192.168.0.13
Win XP box == 192.168.0.11
Netgear rp614v2 router == 191.168.0.1 (LAN side),24.8.x.y (WAN side)
Netgear box is set to forward port 22 to 192.168.0.13
Netgear box connects to comcast.net cable modem.

>From my Win XP box, this works properly
ssh -l some_user 192.168.0.13

>From the RHL box, this works properly
ssh -l some_user 192.168.0.13

>From either, this fails
ssh -l some_user 24.8.x.y
ssh_exchange_identification: Connection closed by remote host

/var/log/secure says:
Apr 25 23:12:29 turkey sshd[23676]: refused connect from
c-24-8-x-y.client.comcast.net (24.8.x.y)

hosts.allow says:
ssh : ALL



Relevant Pages

  • Re: single linux box on dsl?
    ... > My sytem was an upgrade from RHL 9. ... No. SSH creates it's own TCP port for X on the remote machine (listening ...
    (Fedora)
  • Re: URGENT SECURITY ADVISORY FOR SSH SECURE SHELL 3.0.0
    ... URGENT SECURITY ADVISORY FOR SSH SECURE SHELL 3.0.0 ... Previous versions shipped SSH 1.2.xx ... Releases of Red Hat Linux earlier than RHL 7 didn't ship openssh or ssh at all. ...
    (Bugtraq)
  • FVS318 and ipsec client
    ... I'm using the Netgear fvs318 router, which I think is a great little box. ... getting a VPN client (eg using Win 2k/xp ipsec policy or SSH ...
    (comp.security.firewalls)