I have been using UltraVnc for some time on my home LAN but am now setting up a PC for installation remotely which I want to control from home over Internet. At the moment this PC is still wired to my home network.
I can connect over LAN from a shortcut with command
"C:\Program Files\UltraVNC\connect01\vncviewer.exe" /dsmplugin MSRC4Plugin_NoReg.dsm -connect 192.168.2.105::5900
vncviewer.exe, MSRC4Plugin_NoReg.dsm, rc4.key are in the same folder.
For the Internet connection I first tried simply forwarding port 5900 through my router; this would not work.
Then I tried NAT2NAT, but could not get it to work; also it would not do the job for the remote PC runs unmanned.
So I decided to use a repeater in Mode I. Both server and repeater run on the same PC and run as a service.
When the PC is booted I can connect over the LAN using a .bat file with:
"vncviewer.exe" /dsmplugin MSRC4Plugin_NoReg.dsm /proxy 192.168.2.105:5901 -connect localhost
from within the same folder. No problem.
But when I try to connect over the Internet, using a .bat file with
"vncviewer.exe" /dsmplugin MSRC4Plugin_NoReg.dsm /proxy pu.bl.ic.ip:5901 -connect localhost
(port 5901 forwarded) the connection times out.
After restarting the repeater_service, I am able to connect over Internet. This happens every time: after a reboot connection is only possible over LAN, after a restart of the repeater_service it also works over Internet.
I concluded that something (maybe a s/w firewall) needed some more time to initialise. But making the repeater_service dependent on the firewall service did not help.
I have solved it by changing the repeater_service to Manual start. When the computer starts, a vb script is started by the Windows XP scheduler (using an administrator account) which waits for one minute and then starts the repeater service:
Dim WshShell
Dim lsCommando
Wscript.Sleep(60000)
set WshShell = WScript.CreateObject("WScript.Shell")
lsCommando="cmd.exe /c ""Net Start repeater_service"""
WshShell.Run(lsCommando)
This solved it. I just have to be a bit more patient, to allow the repeater to start, but I am now able to connect over Internet every time.
Laurens
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Repeater needs delayed start-up
Repeater needs delayed start-up
-------------------------------------------------
Proverbs 15:1 A soft answer turneth away wrath: but grievous words stir up anger.
Proverbs 15:1 A soft answer turneth away wrath: but grievous words stir up anger.
Re: Repeater needs delayed start-up
also search the web for a program called doze.exe
it's perfect for vnc server start which needs a delay before reverse connect is initiated. Might work for you on your issue.
it's perfect for vnc server start which needs a delay before reverse connect is initiated. Might work for you on your issue.