LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-2009, 05:20 AM   #1
mortalic
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 26

Rep: Reputation: 15
VNC possibly firewalled, what are my options?


I have a VNC server running on my Linux server at home (tcp 5900). I can access it from various remote sites, but not from work. I can however access my FTP site (same system) from work. This system is also the firewall and router (no hardware appliance in the way).

I'm thinking about just moving VNC to a different port, but I've never experienced this before and would like to understand it better. Can someone explain to me the best way to research this and possible work arounds? I did try telneting to port 5900 and it timed out.

Thanks!
 
Old 02-18-2009, 07:34 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,778
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
If you're accessing VNC from remote locations you do NOT want to be doing so directly. VNC has absolutely no security whatsoever, so all your traffic could easily be monitored.

What you do want to do is tunnel the VNC port through an SSH connection. There are loads of threads here on how to do this.

Quote:
I have a VNC server running on my Linux server at home (tcp 5900). I can access it from various remote sites, but not from work. I can however access my FTP site (same system) from work.
Just be aware that your system admins at work may take a very dim view of you accessing a home computer from work, and given your description, it seems likely that they are actively trying to prevent people from doing what you're trying to do. Depending on where you work, circumventing network security can be grounds for termination.
 
Old 02-18-2009, 06:08 PM   #3
mortalic
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 26

Original Poster
Rep: Reputation: 15
VNC

Thanks for the information, I will look into tunneling through SSH.
As for work not taking kindly, that's probably good advise, i'll check with the sysadmins. Though they didn't have any problem with me accessing my FTP site to get old source code I'd written.

-Nathan
 
Old 02-18-2009, 07:16 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,077

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
another option that may or may not work would be to use hamachi
https://secure.logmein.com/products/hamachi/list.asp
 
Old 02-19-2009, 01:18 AM   #5
mortalic
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 26

Original Poster
Rep: Reputation: 15
Tunneling VNC

Ok so I found a small article on how to tunnel SSH through putty (work system is winxp) it seems straightforward enough:
http://www.maths.utas.edu.au/People/Hill/vnc/vnc.html

My config is now setup just like theirs however I get a Connection Closed Dialogue the second I hit connect in tightvnc viewer to localhost:5900
I ssh'd into my linux server at home just to make sure vnc is running and nmap shows that it is and on 5900. Question, the article has my forwarding the port from 5900 to 5953, what is the purpose of that? I don't actually have that port in use.

PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
631/tcp open ipp
5900/tcp open vnc
 
Old 02-19-2009, 01:20 AM   #6
mortalic
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 26

Original Poster
Rep: Reputation: 15
BAH!

Ok I answered my own question disregard, I just changed the destination port from 5953 to 5900 and it came right up! Thanks for the pointers and help everyone.
 
  


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
ktorrent firewalled??How to unfirewall it?? stratotak Debian 2 12-12-2008 05:47 PM
Firewalled too much.. jmoschetti45 Linux - Security 11 03-14-2007 01:58 AM
Vonage (possibly Verizon) -> 2 Options.. Need your Opinions Centinul Linux - Networking 2 04-19-2006 04:06 PM
VNC Client Options trab Feather 0 09-07-2004 06:24 PM
IRC from a firewalled network andrew001 Linux - Networking 0 08-09-2003 08:18 PM


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

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