PDA

View Full Version : Getting past the Firewall via SSH



Chilling_Silence
22-02-2005, 12:27 PM
Greetings,

Im able to ssh out in to my home PC via port 22.
This is open at the firewall here and its great
I can then Tunnel VNC out via SSH, so I can view my home desktop

Not so with my mate.
He's got a no-ip.com account and it wont connect, even when he tries directly going to that IP?!
I can ssh into my home PC and then SSH into his home PC, but we dont wanna have to do that.

Any ideas what may be preventing it? Im running Gentoo, he's running Cygwin on WinXP

Cheers


Chill.

E|im
22-02-2005, 05:17 PM
Is he using the no-ip auto update program?

ninja
22-02-2005, 07:30 PM
Cached DNS records pointing to the wrong IP address?

Chilling_Silence
22-02-2005, 08:07 PM
No, because when we try and connect to that IP directly (ping it from my place) it doesnt let it

So:
I can connect to my place
I _dont_ use the NO-IP Dynamic Update Client (DUC)
I can then connect via my house to his, using either the no-ip.com addy or the IP
I cant connect from work to his place directly, using either an IP or a DNS Name (no-ip.com name).


Chill.

Chilling_Silence
22-02-2005, 08:07 PM
Oh wait.. I _can_ however connect to his PC from work on port 80 (his router).

Just not on port 22?

Murray P
22-02-2005, 08:29 PM
Oh wait.. I _can_ however connect to his PC from work on port 80 (his router).

Just not on port 22?

Firewall, NAT?

Would a new mate solve the problem :D

Chilling_Silence
22-02-2005, 09:59 PM
What do you mean by "firewall, NAT?"?

Ive got enough mates at work... ;)

Funnily enough this is one of the few times Ive offered to help somebody there with a PC problem... Look what I get myself in to :p

BIFF
24-02-2005, 03:18 PM
Who administers the firewall you are behind? Can you verify that the rule to allow port 22 out allows connections to anywhere?
Does the firewall at his house allow ssh connections from the work IP address?