Reply
Old June 26th, 2006 Top | #1

OSNN Folding Team  
pokerblogger's Avatar
OSNN Addict
Joined: June 2006
Location: Portland
Posts: 125
Reputation: 90
Power: 74

Default Can't get through to my server from external but can if I'm internal

I set my linksys router to have port forwarding to the SSH port but when I try connecting from an external network I get a timeout. If I'm connected to my network internally and SSH the port forwarding goes to the correct server and I'm able to login.

Externally, SSH times out and so does ping - Traceroute makes it as far as my local Comcast . . .

Any ideas?
pokerblogger is offline   Reply With Quote
Old June 26th, 2006 Top | #2

OSNN Folding Team  
kcnychief's Avatar
█▄█ ▀█▄ █
Joined: April 2005
Location: Massachusetts
Posts: 16,949
Reputation: 4941
Power: 305

Default Re: Can't get through to my server from external but can if I'm internal

If you can do it internally but not externally, something has to be configured incorrectly on the router I would wreckon.

Try RDP to see if you can get through?

XBOX Live Gamertag: kcnychief
kcnychief is offline   Reply With Quote
Old June 26th, 2006 Top | #3

OSNN Folding Team  
pokerblogger's Avatar
OSNN Addict
Joined: June 2006
Location: Portland
Posts: 125
Reputation: 90
Power: 74

Default Re: Can't get through to my server from external but can if I'm internal

Nope, won't even ping the IP.
pokerblogger is offline   Reply With Quote
Old June 26th, 2006 Top | #4

OSNN Folding Team  
kcnychief's Avatar
█▄█ ▀█▄ █
Joined: April 2005
Location: Massachusetts
Posts: 16,949
Reputation: 4941
Power: 305

Default Re: Can't get through to my server from external but can if I'm internal

Well a ping isn't a true test, as you probably have ICMP blocked.

I still say double-check your firewall though, what is the make/model of it? Post a screenshot of your port forwarding screen?

XBOX Live Gamertag: kcnychief
kcnychief is offline   Reply With Quote
Old June 27th, 2006 Top | #5

OSNN Folding Team  
pokerblogger's Avatar
OSNN Addict
Joined: June 2006
Location: Portland
Posts: 125
Reputation: 90
Power: 74

Default Re: Can't get through to my server from external but can if I'm internal

Image of port forwarding screen attached . . .
Attached Thumbnails
Can't get through to my server from external but can if I'm internal-portforward.jpg  
pokerblogger is offline   Reply With Quote
Old June 27th, 2006 Top | #6

OSNN Folding Team  
VenomXt's Avatar
Blame me for the RAZR's
Joined: March 2004
Location: Houston, Texas
Posts: 3,442
Reputation: 1240
Power: 146

Default Re: Can't get through to my server from external but can if I'm internal

did you ip address change on the server?
VenomXt is offline   Reply With Quote
Old June 27th, 2006 Top | #7

OSNN Folding Team  
pokerblogger's Avatar
OSNN Addict
Joined: June 2006
Location: Portland
Posts: 125
Reputation: 90
Power: 74

Default

I noticed I had "Block WAN Request" enabled in the "filtering" tab, this may have been the issue. I'll have to try externally but I think this may have been the issue. Thank you everyone for the help.

Originally Posted by VenomXt View Post
did you ip address change on the server?
Nope, the server has a static IP assigned.

posts merged
pokerblogger is offline   Reply With Quote
Old June 27th, 2006 Top | #8

OSNN Folding Team  
pokerblogger's Avatar
OSNN Addict
Joined: June 2006
Location: Portland
Posts: 125
Reputation: 90
Power: 74

Default Re: Can't get through to my server from external but can if I'm internal

Ok, so I've tried everything now, reset the router to factory defaults, followed instructions for enabling ssh step by step and nothing.

Should I buy a new router? Could it be the Debian box? Should I just nuke that and install FreeBSD? It seems like it isn't the Linux box if I'm able to ssh in while inside my network . . . but that also means the linksys router is forwarding right? What the hell could be causing this?
pokerblogger is offline   Reply With Quote
Old June 27th, 2006 Top | #9

OSNN Folding Team  
kcnychief's Avatar
█▄█ ▀█▄ █
Joined: April 2005
Location: Massachusetts
Posts: 16,949
Reputation: 4941
Power: 305

Default Re: Can't get through to my server from external but can if I'm internal

I'm sorry for not suggesting this earlier, but it could be possible your ISP is blocking the ports necessary to access it. It could be a longshot, depending on your provider and config, but it's something you should try. SSH isn't illegal, so there is no harm in contacting your ISP and asking them if they block the port. If they are, they might even unblock it for you.

Most ISPs will block ports by default, such as ports required for SMTP/POP3 because they don't want people running e-mail servers. Also common ports to block are those necessary for VPN connections. All viable purposes, but blocked for the safety of the consumers for the most part. In different instances, I have had all ports opened successfully by contacting my ISP and providing due cause.

Furthermore, it's not the OS because everything works fine internally. I don't think it's the router because you reset to defaults and that is essentially the "loosest" config.

XBOX Live Gamertag: kcnychief
kcnychief is offline   Reply With Quote
Old June 28th, 2006 Top | #10

OSNN Folding Team  
pokerblogger's Avatar
OSNN Addict
Joined: June 2006
Location: Portland
Posts: 125
Reputation: 90
Power: 74

Default Re: Can't get through to my server from external but can if I'm internal

OK, thank you for the assurance on the Debian setup

I called COMCAST and they said that "all ports are open"

I then proceeded to reset my router again.

I disabled "Block WAN" on the router.

I setup port forwarding to forward port 22 to port 22 on the local IP of my server.

I ran a test on grc.com which said that port 22 was in "stealth" mode. Could this be the problem?
pokerblogger is offline   Reply With Quote
Old June 28th, 2006 Top | #11
 
j79zlr's Avatar
Glaanies script monkey
Joined: February 2003
Location: Chicago
Posts: 2,725
Reputation: 1520
Power: 155

Default Re: Can't get through to my server from external but can if I'm internal

Sounds like it isn't listening on 22. Is ssh listening on port 22 on the debian box? I would do a nmap [port] scan inside your LAN and see what is open on the debian PC, just to make it is in fact listing on port 22.

If comcast is in fact blocking ssh, just because lvl1 tech said they aren't doesn't really mean anything. Try forwarding port 2222 to port 22 and connect using ssh username@hostname.com:2222
j79zlr is offline   Reply With Quote
Old June 28th, 2006 Top | #12

OSNN Folding Team  
pokerblogger's Avatar
OSNN Addict
Joined: June 2006
Location: Portland
Posts: 125
Reputation: 90
Power: 74

Default Re: Can't get through to my server from external but can if I'm internal

Ok - I got it

Wound up being the Linux box being misconfigured. Thank you everyone for the help!
pokerblogger is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for external HDD/file server. ming General Hardware 8 April 2nd, 2007 1:50pm
System requirements for a home (internal only) server. ming General Hardware 9 April 12th, 2004 12:40pm
External vs Internal Hard Drives Dick General Hardware 6 February 1st, 2003 3:45am
remove the internal fax in xp Crosshand Windows Desktop Systems 1 December 2nd, 2002 4:45am
internal modem blake Windows Desktop Systems 2 July 24th, 2002 2:56pm