Reverse VNS in UltraVNC
Written by Daniel Mundy
Also note that you have to launch winvnc.exe once with no parameters. You will need to set a password, which you will probably never need to use. You can also change the port here. Although the port will be specified on the command line, if you set it here to the same port, Windows Firewall will only ask you to open one hole.
----
As you can see, you have to start winvnc with no arguments, before then telling it to connect to your viewer in listen mode. You could put this in a script:
winvnc.exe
sleep 4
winvnc.exe -connect 192.168.1.3::6666
This script needs sleep.exe from the Windows 2003 Resource Kit.
Wednesday, 03 December 2008 10:11
You can use "Reverse VNC" to offer remote support without opening a hole in the customer's firewall. As an added bonus, they initiate the connection, so there is no perceived trust issue (Customers always ask the question: "hang on, you can control my PC, any time, without me knowing?").
Assume my PC is 192.168.1.3 for this example.
First, download the UltraVNC binaries.
On your side:
- Forward a port through the firewall to your PC, eg. 6666
- Start the viewer on your PC: vncviewer.exe /listen 6666
- winvnc.exe
- winvnc.exe -connect 192.168.1.3::6666
Also note that you have to launch winvnc.exe once with no parameters. You will need to set a password, which you will probably never need to use. You can also change the port here. Although the port will be specified on the command line, if you set it here to the same port, Windows Firewall will only ask you to open one hole.
----
As you can see, you have to start winvnc with no arguments, before then telling it to connect to your viewer in listen mode. You could put this in a script:
winvnc.exe
sleep 4
winvnc.exe -connect 192.168.1.3::6666
This script needs sleep.exe from the Windows 2003 Resource Kit.
Bookmark
Email this
Hits: 84
Trackback(0)
Comments (0)

Write comment
Last Updated on Sunday, 30 May 2010 10:02
Are you stuck?
This tech stuff isn't for everyone. If you'd rather just pay someone to fix it for you, email daniel@mundy.com.au.
I'll be happy to help you.

Daniel Mundy



