Using vncviewer through Sonicwall Soho2

robphillips79

Junior Member
May 19, 2004
15
0
0
I need to figure out how I can use a program called VNC Viewer from home, to access a computer in a closed network. Everything that goes into the router gets moved to the firewall, where access to the network is controlled there, obviously, but I'm a bit new to this stuff so it helps for me to write it all out.

Now here's where I'm a little unsure. In my soho2 firewall I can create a service called VNC which uses port 5900. I can then set up a rule that allows incoming port 5900 to route to one internal IP address. The problem is that there will be multiple users from the outside trying to access multiple computers on the inside. So how does this need to be set up?

Thanks for any advice.
 

loup garou

Lifer
Feb 17, 2000
35,132
1
81
You need to either:
1) Edit the registry on each computer running VNCserver to tell vnc to listen on a different port and forward the appropriate ports to the appropriate machines in the router's setup.
2) Setup a vpn server/device of some sort. Once connected to the vpn, you can connect to any machine running a vncserver.
 

robphillips79

Junior Member
May 19, 2004
15
0
0
So if I have two machines in the closed network that run vnc server, and two computers in the outside world that run vncviewer, I have to specify which port to go to on the firewall, for instace 5900 for one, and 5901 for the other, and then forward each port to that particular computer in the closed network?
 

loup garou

Lifer
Feb 17, 2000
35,132
1
81
Originally posted by: robphillips79
So if I have two machines in the closed network that run vnc server, and two computers in the outside world that run vncviewer, I have to specify which port to go to on the firewall, for instace 5900 for one, and 5901 for the other, and then forward each port to that particular computer in the closed network?
Exactly. You also need to make a registry edit on each computer to tell vncserver what port to listen on. I'll see if I can dig up an article on how to do this for you.

EDIT: Here you go.
 

Southerner

Member
Jun 21, 2001
129
0
0
I wouldn't go opening ports in the firewall for it, as most of a VNC session isn't encrypted. I'd set up a VPN, so you could access each machine directly.
 

mboy

Diamond Member
Jul 29, 2001
3,309
0
0
is your Soho2 licensed for VPN? Probably has at least 1 license with it. Then you need as many copies of the sonicwall software client as you will need. If u need mutlitple licenses for both, it is going to cost you some decent $$$$.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,540
419
126
Install VNC Server on each computer that need to be controlled and assign each computer VNC with it own port.

E.g., Computer 1 VNC port 5810, Computer 2 VNC port 5820, etc.

Open in the Firewall the needed ports to the corresponded computer.

From the remote start the Viewer and type the port number at the end of the IP it will go to the computer with the specific open port.

More details here: Ultr@VNC (Remote Control for your Network/Interent) - Installation, and Settings

Link to: How can I find My Home Personal Computer/Server on this "Huge" Internet World?

:thumbsup:
 

Need4Speed

Diamond Member
Dec 27, 1999
5,383
0
0
Originally posted by: werk
Originally posted by: robphillips79
So if I have two machines in the closed network that run vnc server, and two computers in the outside world that run vncviewer, I have to specify which port to go to on the firewall, for instace 5900 for one, and 5901 for the other, and then forward each port to that particular computer in the closed network?
Exactly. You also need to make a registry edit on each computer to tell vncserver what port to listen on. I'll see if I can dig up an article on how to do this for you.

EDIT: Here you go.


no need for a reg edit...thic can be done throught the vnc server properties panel. maybe you have it confused with remote desktop, which will need a regedit
 

Need4Speed

Diamond Member
Dec 27, 1999
5,383
0
0
Originally posted by: Southerner
I wouldn't go opening ports in the firewall for it, as most of a VNC session isn't encrypted. I'd set up a VPN, so you could access each machine directly.


could use a ssh tunnel with port forwarding to encrypt the traffic. then only one port on the firewall would have to be open, as the ssh deamon would be doing the port forwarding.
 

loup garou

Lifer
Feb 17, 2000
35,132
1
81
Originally posted by: Need4Speed
Originally posted by: werk
Originally posted by: robphillips79
So if I have two machines in the closed network that run vnc server, and two computers in the outside world that run vncviewer, I have to specify which port to go to on the firewall, for instace 5900 for one, and 5901 for the other, and then forward each port to that particular computer in the closed network?
Exactly. You also need to make a registry edit on each computer to tell vncserver what port to listen on. I'll see if I can dig up an article on how to do this for you.

EDIT: Here you go.


no need for a reg edit...thic can be done throught the vnc server properties panel. maybe you have it confused with remote desktop, which will need a regedit
No kidding, I never realized that's what the display number meant.
 

Need4Speed

Diamond Member
Dec 27, 1999
5,383
0
0
Originally posted by: werk
Originally posted by: Need4Speed
Originally posted by: werk
Originally posted by: robphillips79
So if I have two machines in the closed network that run vnc server, and two computers in the outside world that run vncviewer, I have to specify which port to go to on the firewall, for instace 5900 for one, and 5901 for the other, and then forward each port to that particular computer in the closed network?
Exactly. You also need to make a registry edit on each computer to tell vncserver what port to listen on. I'll see if I can dig up an article on how to do this for you.

EDIT: Here you go.


no need for a reg edit...thic can be done throught the vnc server properties panel. maybe you have it confused with remote desktop, which will need a regedit
No kidding, I never realized that's what the display number meant.


I guess you learn something new everday
for instance default is 5800/5900 on display 0
then display 1 would be 5801/5901 and so on and so on
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |