LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-29-2005, 06:59 PM   #1
poochdog
Member
 
Registered: Jul 2004
Location: United Kingdom
Distribution: Fedora Core 9
Posts: 141

Rep: Reputation: 15
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?
 
Old 08-29-2005, 08:06 PM   #2
GrimSniffer
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
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.
 
Old 08-30-2005, 12:13 PM   #3
tanawana
LQ Newbie
 
Registered: Aug 2005
Location: youngstown, oh
Posts: 6

Rep: Reputation: 0
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??
 
Old 08-30-2005, 01:31 PM   #4
poochdog
Member
 
Registered: Jul 2004
Location: United Kingdom
Distribution: Fedora Core 9
Posts: 141

Original Poster
Rep: Reputation: 15
lol oops. Your right! Thank you

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vnc over ssh ieuuk Linux - Networking 18 01-18-2006 07:11 AM
vnc with ssh Paxmaster Linux - Networking 1 03-07-2005 09:05 PM
vnc with ssh lawkh Linux - Newbie 1 02-10-2004 01:12 AM
VNC on SSH??? Jerry78 Linux - Newbie 3 07-17-2003 03:20 AM
SSH, VNC and a Linksys Router Hangdog42 Linux - Networking 8 04-18-2003 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration