SSH forward from a Windows machine to a Linux machine isn't working
Hello all,
I have a SuSE 10.1 machine with a number of private IP addresses which is connected to the internet via a Windows Server 2003 machine. Basically, the Windows box has an external interface and an internal interface and acts as the NAT router for the LAN. I set up a port forward from the external interface on the Windows box to the Linux machine, but I can't connect to it. When I try to connect from OSX, it just times out. If I run dmesg | tail this is what I get: Code:
susebox:/etc/ssh # dmesg | tail Code:
susebox:/etc/ssh # tail /var/log/messages Thanks, -Nick |
Just to make sure of some things are correctly setup.
Windows is doing Nat Windows port forward is setup Firewall on windows has the external IP port open Linux box IP port is opened through firewall Are you using keys or passwords? Have you connected from the windows machine to the linux box? Brian1 |
Yes.
Yes. Yes. The port that SSH listens on is open on the SuSE firewall. That same port is open on the firewall of the Windows box and is forwarded to the Linux box. The presence of my home IP address in /var/log/messages confirms that I am indeed getting through. I'm using passwords, and yes, I can putty from the Windows machine to the Linux machine. I just can't directly ssh from home (250 miles away) to the linux machine via the port forward on the Windows box. It times out. Must be some configuration that's telling it my home IP address is bad, but I can't figure out where to make the change. Thanks, -Nick |
Not sure about the configuration.
Post contents of /etc/ssh/sshd_config One thing I would try as a try if the system can be down. Get hold of one of those store bought routers and configure it to take the place of the windows box. Then setup portforwarding and see if you can get in that way. If so then an issue on the Windows box. If still no go then I would lean towards the linux box as the issue. Then have a friend or someone at home try to connect from the outside. Check out this post on sshd setup. Might have missed something. http://www.suso.org/docs/shell/ssh.sdf Brian1 |
All times are GMT -5. The time now is 04:07 PM. |