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

Access for specific IP adresses or IP ranges

Post Reply
acsgc

Access for specific IP adresses or IP ranges

Post by acsgc »

Hey,

is it possible to specify an IP adress or adress range for the VNC Server to accept connections only from these IP adresses or ranges?

THX
Oliver
Marscha
Former moderator
Former moderator
Posts: 464
Joined: 2004-05-14 06:48

Post by Marscha »

yes, that's possible.
There's a registry key (REG_SZ) called HKLM\Software\ORL\WinVNC3\AuthHosts.
See http://www.realvnc.com/products/free/3. ... nc.html#11
The AuthHosts setting is, unlike the other settings, a REG_SZ string. It is used to specify a set of IP address templates which incoming connections must match in order to be accepted. By default, the template is empty and connections from all hosts are accepted. The template is of the form:
+[ip-address-template]
?[ip-address-template]
-[ip-address-template]
In the above, [ip-address-template] represents the leftmost bytes of the desired stringified IP-address. For example, +192.168 would match both 192.168.12.10 and 192.168.14.2. Multiple match terms may be specified, delimited by the ":" character. Terms appearing later in the template take precedence over earlier ones. e.g. -:+192.168: would filter out all incoming connections except those beginning with 192.168. Terms beginning with the "?" character are treated by default as indicating hosts from whom connections must be accepted at the server side via a dialog box. The QuerySetting option determines the precise behaviour of the three AuthHosts options. Local machine-specific setting.
bilbus
8
8
Posts: 18
Joined: 2004-12-17 15:41

Re: Access for specific IP adresses or IP ranges

Post by bilbus »

i use group policy to set the IP rules for the windows firewall.

that way its the same rule for all my xp workstations
Koala
Posts: 1
Joined: 2007-02-15 16:17
Location: Germany

Re: Access for specific IP adresses or IP ranges

Post by Koala »

Hello

I search the other way - to allow a client to connect only to server in a specific ip range.
The servers can accept connections from many other clients.

Is this possible?
Last edited by Koala on 2007-02-15 16:28, edited 1 time in total.
--
Sven
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Access for specific IP adresses or IP ranges

Post by bevtech »

You might be able to use mslogon and control who can access servers by specific usernames as well but other then the above methods that is about it..

Note: You will need to use uvnc as a service to use the authhost option..;)
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
Post Reply