Help: Cannot access Linux Server behind the linksys router via ssh
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.
Help: Cannot access Linux Server behind the linksys router via ssh
Server details:
OS: Linux RedHat
DHCP: Static IP set to 192.168.1.101
sshd_config: Enabled for port 22 for ssh
Connected through wire to the Linksys router
Router:
Type: Linksys BEFW11S4
Port forwarding enabled for port 22 to IP 192.168.1.101
Client:
Windows 7
Interface: PuTTy
Host: 192.168.1.101 on port 22 through SSH
This always gives an error "connection timed out".
SSH directly on the local Linux works fine..
Seems basic but had been struggling over this for past 3 hours to no avail so thought of posting it to the experts..please help. Am I missing anything?
That's all that's required. However, since you're having a problem, it's likely something very simple that's wrong.
Was the firewall change reloaded? The change doesn't take effect until iptables is reloaded.
Can you ssh from another machine on the same LAN? If so, that eliminates the firewall on the server and indicates a problem with the port-forward on the router. If not, the server firewall is still an issue.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.