Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.