LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-12-2005, 04:29 AM   #16
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30

thanks for the help, I've been to Shields UP and all my ports are closed except for 80 and 22, which are stealthed (which I assume means that they are in fact open?)

from what you say about running nmap from behind the router on the external ip does that mean trying to ssh to the external ip from behind the router would also be a pointless test?
 
Old 03-12-2005, 02:16 PM   #17
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
No stealth means the port is closed and it also appears to not even exist, ie no reponse whatsoever. That's good in most cases, except here where you want it open. You'll need to adjust your router to foward port 22 to your Slackware PC. You'll also need to open port 22 on any firewall you may be using in Slackware, which there isn't one unless you added it. Anyway, the shields up test should return a status of OPEN after you get it correct.


And no, you may can still connect to your external IP from somewhere within your LAN. I can here, but I'm using a linux PC for my gateway/router vs a DSL modem/router thingy. But like I said, the shieldsup test will tell you when the port is open and at that point your SSH server will likely work without any trouble, assuming you have the port fowarded in your router. I'm not sure how the fowarding works in the one you have but if you are using DHCP on the LAN side to auto assign IPs to your PCs, that "could" lead to problems if the fowarding works off of IPs. Since the IP may change somewhere down the road and you'd end up fowarding the port to a different or non-existant IP. You may be able to foward based on the MAC address though, else switch to static IPs on the LAN side. Anyway, just something else to consider, it will probably not be an issue either way though as you'll usually get the same IP anyway.
 
Old 03-12-2005, 06:56 PM   #18
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
its definitely forwarded correctly but I stealthed the ports myself (the modem lets you stealth any ports you like, i've currently got it to stealth all ports)

If I unstealth them then shields up says ssh is open but I still can't ssh to the ip

I don't have any firewall running on slack (its a default install)
 
Old 03-12-2005, 11:14 PM   #19
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Ok, well I don't see how it could possibly work with the port stealthed. A stealthed port by difinition will not repond at all, ie it appears to not even be there.

Also here is a quote from the X5's manual:
Quote:
Note: To test the port fowarding feature, you must use another person's dial-up or Internet connection so that you are accessing the virtual server from outside the network.
So it would appear the modem can not properly handle a packet when you bounce it out and back in, essentially doing double NAT'ing it. Sometimes it works and sometimes it doesn't, but as I said earlier it's best to test it from outside.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
ssh connection from a Windows machine to a Linux machine pistachio Linux - Networking 1 08-30-2005 10:45 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
Enabling SSH in mandrake 9.2 - sshd vs. sshd-xinetd DogTags Linux - Newbie 7 11-25-2003 12:17 PM
sshd / ssh question.. doublefailure Linux - Networking 1 09-13-2002 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration