Hi All,
Not really used linux before (use other Unix flavours for ages). Installed latest ubuntu, patched it up. Put it on a static IP range say 192.168.1.100 (server).
Installed ssh - works fine on local PC's. So wanted to test remote connection.
I have got Netgear 834G adsl router. I have port forwarded 22, 23 (trying telnet) and also 1194 (when installing openvpn) to 192.168.1.100.
When I try to ssh on remotely I can see in the netgears log that it has spotted port 22 and forwarded it on but it just times out.
I even moved ssh up to 22222 just in case port 22 was blocked but made no difference.
Did an iptables -L and it showed no entries (default I guess). Installed ufw and added allows for udp/tcp on ports 22,23,1194 & 22222 but that made no difference either.
I've setup /etc/hosts.allow & deny (I know they are working as I tinkered with removing some IP's to make sure the local lan worked/not worked)
So I have another box (Sco) running ssh so I port forwarded the router to this IP and worked fine - the Sco box isn't internet facing so has no firewall etc.
Can't see anything in the log files saying that it's being bounced, or failed entry or anything.
I bet it's something obvious but it's starting to annoy me now
Cheers all.
Not really used linux before (use other Unix flavours for ages). Installed latest ubuntu, patched it up. Put it on a static IP range say 192.168.1.100 (server).
Installed ssh - works fine on local PC's. So wanted to test remote connection.
I have got Netgear 834G adsl router. I have port forwarded 22, 23 (trying telnet) and also 1194 (when installing openvpn) to 192.168.1.100.
When I try to ssh on remotely I can see in the netgears log that it has spotted port 22 and forwarded it on but it just times out.
I even moved ssh up to 22222 just in case port 22 was blocked but made no difference.
Did an iptables -L and it showed no entries (default I guess). Installed ufw and added allows for udp/tcp on ports 22,23,1194 & 22222 but that made no difference either.
I've setup /etc/hosts.allow & deny (I know they are working as I tinkered with removing some IP's to make sure the local lan worked/not worked)
So I have another box (Sco) running ssh so I port forwarded the router to this IP and worked fine - the Sco box isn't internet facing so has no firewall etc.
Can't see anything in the log files saying that it's being bounced, or failed entry or anything.
I bet it's something obvious but it's starting to annoy me now

Cheers all.