LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-18-2005, 11:26 AM   #1
waynep
LQ Newbie
 
Registered: Feb 2005
Location: Arkansas
Distribution: SUSE
Posts: 8

Rep: Reputation: 0
Remote Admin through router ?


I installed SUSE 9.1 Pro on an old pc last night. I have a DLink router and cable modem for internet access. I have a couple windows machines behomd the router also.

I turned on remote admin and configured the router to pass ports 5801 and 5901 to the linux box. From outside, when I connect using a webbrowser to x.x.x.x:5801 . . . i get the expected VNC Authentication screen on the web browser with the password box and an OK button. I enter the password and click OK and I get the following:

Network error: could not connect to server: x.x.x.x:5901

Is this the return traffic coming back to me?

When I do this from inside my network using web browser 192..168.0.x:5801 it works fine. I am assuming I missed something on my router config ???

wayne
 
Old 02-18-2005, 11:36 AM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
For this to work your router needs to forward 5901 inside as well.

You should really forward 22 and wrap the whole thing in SSH tunnels though. I don't trust VNC enough for it to be facing the internet.
 
Old 02-18-2005, 12:05 PM   #3
waynep
LQ Newbie
 
Registered: Feb 2005
Location: Arkansas
Distribution: SUSE
Posts: 8

Original Poster
Rep: Reputation: 0
I did . . . I setup the router to forward port 5801 and 5901 to the linux box. Do I need to map port 5801 on the outside to port 5901 on the inside?

I would like to get this working, then I'll work on the ssh portion.

wayne

Last edited by waynep; 02-18-2005 at 12:06 PM.
 
Old 02-18-2005, 04:06 PM   #4
waynep
LQ Newbie
 
Registered: Feb 2005
Location: Arkansas
Distribution: SUSE
Posts: 8

Original Poster
Rep: Reputation: 0
Well I never got VNC running correctly. I got putty. setup a ssh tunnel and can now run VNC through the ssh tunnel . . . . it works, not fast but it works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Remote Admin IllEatUrHeart Mandriva 1 09-06-2004 05:52 PM
remote admin epeus General 15 02-25-2003 11:33 PM
Remote Admin... kobe Linux - General 1 08-09-2002 08:52 AM
Remote admin? Ricardo77uk Linux - Networking 13 07-13-2001 01:05 PM
Remote admin. How? Q25 Linux - General 5 05-17-2001 03:02 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration