LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2004, 01:08 AM   #1
Chuk
Member
 
Registered: Sep 2002
Location: British Columbia
Distribution: Ubuntu
Posts: 47

Rep: Reputation: 23
Got new router, can't ssh in now


I'm running Mandrake 10.0, and I've got sshd running. I used to connect to the net through our XP machine, but we recently bought a D-Link DI-604 router. I can still get online no problem (typing this now from the Mandrake box).

Before, I used to ssh in from work/school. I had hosts.allow set to let my work machine or the school domain name in, but nothing else (except the LAN). No problem, just ssh user@<dynamic IP>, and I was in (I also set sshd to only allow me as a user).

Since we got the router, I cannot ssh in to my Mandrake box. I have changed everything on the router that is suggested (Virtual Server SSH points port 22 to my Linux machine running sshd), and the router's log never mentions my attempts to ssh in, so I'm guessing it's not stopped there. I've tried other ports in case work/school started blocking 22, too. I can still ssh in from the XP machine on the LAN, so I know that sshd is up and running.

Does anyone have any suggestions? How can I find out if the Linux box is rejecting my attempts? Is there some log file I can look in? Do I need to set sshd to log more?

Any help would be appreciated -- I've googled and checked a few books, but to no avail. It would help if I had some kind of error message to look at, but there's just an eventual timeout.

thanks,
 
Old 10-16-2004, 01:50 AM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
You should see messages in /var/log/messages or /var/log/secure to be sure check your syslog.conf file.

Seem like you need to get that router's firwall configured to forward requests for ssh to you internal machine. Try using "Firewall Rules" if you have not already.
 
Old 10-16-2004, 01:52 AM   #3
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Even better, get another ethernet card and use the Linuxbox as a router and hook the wireless router your internal network device. Why configure a dlink thingy if you can use Linux!
 
  


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
ssh from outside throough a router alagenchev Linux - Networking 5 01-20-2006 08:18 PM
ssh trhough a router from outside DropSig Linux - Networking 1 07-04-2005 04:07 PM
ssh and router, I need help. babyboss Linux - Networking 4 09-22-2004 11:40 AM
SSH , RH 9 and router weird_guy Linux - Networking 6 07-13-2003 09:17 PM
ssh behind a router The sakkie Linux - Networking 16 07-12-2003 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:13 AM.

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