• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 527
  • Last Modified:

RealVNC and multiple users with a firewall

I'm a typical network rookie so this question maybe an easy one:

A few users at work want to access server-based programs from home. I told them that they can remote in using remote desktop. They don't have Windows XP Professional though and I resorted to using RealVNC. Since RealVNC connects using ports 5900+N, how would I set up the firewall/VPN/router so that the connection is:

a) secure
b) multiple users can all connect at once (do I assign each person their own VNC port? eg User1 is 5901, User2 is 5902, etc)

Then when I connect using the RealVNC client do I type in the IP address with the port at the end? (xxx.yyy.zzz.fff:port)

Same goes for Remote Desktop for users that actually have Windows XP Pro on the network. How do they access their own computer on the network from home using that?
0
lchyi
Asked:
lchyi
  • 4
1 Solution
 
Yan_westCommented:
1st, if you are not using VPN to connect to your network, forget RealVNC.. RealVNC does not encrypt the connection. If you do it through VPN, then it is secure.

If you do it through a VPN, you wont have to assign multiple port for VNC because each person will connect to a different computer from a seperate ip.
You would only have to configure multiple port if you would connect through your router to your workstation using port fowarding.

for Remote desktop, they have to 1st establish a VPN connection, then only type in the remote IP of their machine, and voila, they are connected.
0
 
Yan_westCommented:
Btw, remote desktop encrypt connections by default..
0
 
danjensenCommented:
Not QUITE sure what you're trying to do.

Everybody tagging the mainframe (or other shared machine) via VNC at once:  Won't work - VNC only takes one incoming call at a time.  And frankly, you don't want it.  Five people connected, moving the mouse five different ways trying to get five things done at a time.  Ugh.

Everybody connecting to their individual desktops over the VPN:  Just have them connect to their individual IPs on the default port for VNC.  Very low maint, and probably the best way to get this done if RDP won't work.  (There is a remote desktop client available for 2000 - scour around Microsoft's site for it - I think that's where I got it.)

Everybody connecting to their individual desktops in the office from home, when the router's the only machine facing the internet:  Trickier, but doable: a little port forwarding would be in order.  Assign each user a port number, then set up a rule on the router that says to forward that user's connection to his desktop and configure their VNC to listen on their assigned port number..

Alice's desktop at work is 192.168.0.100.  She gets assigned port 5800.  Tell her to connect to http://router.yourcompany.com:5800.
Set up the router to forward incoming connections on port 5800 to 192.168.0.100, then set up VNC on her machine to listen on 5800.
Bob's at 192.168.178.101, so you assign him port 5900.  He gets the same address, but should only connect on port 5900.  Set the router up with a new rule in the same fashion:  5900 forwards to ...101, and set up the VNC client on Bob's machine to listen on 5900.

You really should encrypt this traffic if you're not using a VPN, but if you're not concerned, that ought to work.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
lchyiAuthor Commented:
Great answer Dan! With the VPN, is it possible to not do port forwarding since they're already on the network? I mean, would their 192.168.0.80 be the 192.168.0.80 on the remote server while connecting via VPN or would it be their own local 192.168.0.80?
0
 
Yan_westCommented:
if you are on a VPN no port fowarding is necessary because you are already on the network! it'S just like you would connect to the computer just next to you in your office..
0
 
Yan_westCommented:
hey, no points for me? :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now