Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

RE: Repeater Basic questions

Post Reply
kuanyu
Posts: 1
Joined: 2013-05-27 21:23

RE: Repeater Basic questions

Post by kuanyu »

Hello!

Thanks for helping me with the above situation.

Here are some basic details

1. VNC Server
2. VNC Client
3. Repeater

Both Server and Client are located behind a firewall. The only way to get them to communicate will be to have a repeater with ports forwarded.

Here are some basics about the repeater.

Repeater Details (read mode 2)
http://www.uvnc.com/docs/uvnc-repeater.html

Basic Repeater understanding and concepts explained
https://forum.ultravnc.net/viewtopic.php?f=3&t=27416

UVNC Command line description
http://www.uvnc.com/install/cmdline.html
http://www.uvnc.com/docs/uvnc-server/69 ... ncini.html

My current set up now has 1 X Server, 1 X Repeater and 1 X Client.

Both the server and the client can communicate thru the repeater.

Here is what needs to be done.

I need it such that when the server restarts/is powered on, it will automatically make an outgoing connection to the repeater.

If i manually control the server, and click on add new client (to initiate an outgoing connection), the connection will be established.

In order for the server to initiate an automatic connection, it must
1. Autostart on system power on (run as a service, already done)
2. Initial outgoing/reverse connection to repeater.

Here are some examples of the people who has done it.

Outgoing connection with DYNDNS (my exact problem)
http://forum.ultravnc.info/viewtopic.php?p=70972

Reverse connection to static ip (can't get this to work as well)
http://forum.ultravnc.info/viewtopic.php?p=56433

Sample command that needs to be inserted
service_commandline=-autoreconnect -connect hostname:port

I do not know where to insert this command.
My hostname is 192.168.1.23 (repeater)
My ID used is 1234(repeater)
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: RE: Repeater Basic questions

Post by Rudi De Vos »

In your latest link, Redge explained it
edit ultravnc.ini
add under existing "[admin]" (do not add again [admin]

[admin]
service_commandline=-autoreconnect ID:12345678 -connect host

save and exit and restart windows required.
ultravnc.ini is the config file in the same folder as winvnc.exe
Post Reply