LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SSH and VNC through Router (https://www.linuxquestions.org/questions/linux-networking-3/ssh-and-vnc-through-router-358289/)

poochdog 08-29-2005 06:59 PM

SSH and VNC through Router
 
Hello!

I am well on my way with my remote linux project, my Linux box is running just with its power lead and network card. I am currently accessing the machine via ssh and vnc to configure on my local network.

What I need to be able to do is access the machine over the net. I have set my router to forward port 22 for ssh to the linux box and port range 5900 to 5912 for VNC. All works well locally but not from the outside world.

I disabled the firewall in Fedora Core 3. I have also searched this forum for ideas but nothing seems to work.

Any ideas before I loose my hair?:rolleyes:

GrimSniffer 08-29-2005 08:06 PM

This might sound odd, but you should make sure you're checking it from outside the network. That you're actually checking it from the outside and not typing "ssh <your internet ip>" from within the network. If you've been doing that, it might be working perfectly and you wouldn't even know it... since if you've indeed been trying to ssh to your legal IP from behind the router, you would have been trying to SSH to the router, and the router isn't an SSH server. :) In short, try going to someone else's house and SSHing to your computer from there.

You can use www.canyouseeme.org - it helps you see if a port is open or closed on your computer.

Hope this helps.

tanawana 08-30-2005 12:13 PM

I had the problem of not being able to ssh through port 22 from an outside computer but could do it locally though. Never could figure it out. Finally tried forwarding a different port such as 6000 and listing it open in my sshd config file and I connected right away. Also assign the computer an IP address instead of dhcp if that helps if using a router??

poochdog 08-30-2005 01:31 PM

lol oops. Your right! Thank you :D

I used to be able to do it with no router but with port forwarding enabled I cannot connect outside and back into my lan.


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