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

Does AuthHost work?

Post Reply
Guest

Does AuthHost work?

Post by Guest »

I've tried entering the AuthHost string in the WinVNC key.
I've set the value to +111.1

my IP is 192.......

I though I would not be allowed to connect to the server with an address as 192.... as the authhost value on the server is 111.1

Can someone please help me to get this to work.
edward
8
8
Posts: 10
Joined: 2004-06-02 19:30

Post by edward »

Try "AuthHosts"="-:+111.1"

N.B. There is a negative or minus symbol and a colon separator at the beginning of the string. This excludes all except the allowed (+) ip subnets that follow.
Last edited by edward on 2005-08-30 13:33, edited 1 time in total.
Guest

Post by Guest »

Hi, that seems to work thanks.

Do you know how to set it so only addresses with 192.1 and 10.1 can
be used and nothing else?
edward
8
8
Posts: 10
Joined: 2004-06-02 19:30

Post by edward »

I assume that you wish to grant access only to users on the private subnets 192.168.0.0 and 10.1.0.0 , in which case it would be:

"AuthHosts"="-:+192.168:+10.1"
Guest

Post by Guest »

Thank you very very much.
Guest

Post by Guest »

Can anyone help with info on how to add this key to registry using ultravnc? Which part of reg, which string to add and type, and so on.
Thx in advance.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

AuthHosts
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.

1. Local machine-specific settings. Options specified here are not overridable. Location:

HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\

source:
http://www.realvnc.com/products/free/3. ... vnc.html#4
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply