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

Security: limit to lan only

Post Reply
starfighter
8
8
Posts: 9
Joined: 2008-07-21 20:06

Security: limit to lan only

Post by starfighter »

Hello,

is there an option to limit client access to lan only?
realvnc had an option to limit clients to 192.*
rg270b
Posts: 3
Joined: 2008-07-30 15:00

Re: Security: limit to lan only

Post by rg270b »

Configure your firewall to accept conection only from your subnet on VNC port (default 5900)
starfighter
8
8
Posts: 9
Joined: 2008-07-21 20:06

Re: Security: limit to lan only

Post by starfighter »

rg270b wrote:Configure your firewall to accept conection only from your subnet on VNC port (default 5900)
Is this the only solution?
flyfishr64
8
8
Posts: 18
Joined: 2008-01-24 20:15
Location: Massachusetts

Re: Security: limit to lan only

Post by flyfishr64 »

starfighter wrote:Hello,

is there an option to limit client access to lan only?
realvnc had an option to limit clients to 192.*
Yes. In the ini file, add the following to the [admin] section:

AuthHosts=-:+192.*

I think that will do it. The syntax isn't well documented but you can google for it.
starfighter
8
8
Posts: 9
Joined: 2008-07-21 20:06

Re: Security: limit to lan only

Post by starfighter »

Sounds promising, I will give it a try :roll:
starfighter
8
8
Posts: 9
Joined: 2008-07-21 20:06

Re: Security: limit to lan only

Post by starfighter »

Yes. In the ini file, add the following to the [admin] section:

AuthHosts=-:+192.*
Does not function...
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Security: limit to lan only

Post by redge »

> Does not function...

reboot required
Last edited by redge on 2008-11-09 16:10, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
sure
20
20
Posts: 42
Joined: 2006-06-05 15:02

Re: Security: limit to lan only

Post by sure »

redge wrote:> Does not function...

reboot required
Is the syntax different from RealVNC ?

It used to be:

[HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3]
"AuthHosts"="-:+192.168.1"

so the asterix wasn't used.. How about it for the ini ?

## Just tested this and the syntax is exactly like for RealVNC
## except you don't use " and it's not in the registry but in the .ini file.
## so no * is needed to delimit a net-block. Example ultravnc.ini:
[admin]
AuthHosts=-:+62.133:+192.168.1:+195.64.95.1
the - tells winvnc to not allow anything,
the : is the separator, delimiter,
the + tells winvnc what to allow.
In this example the entire 62.133 net-block sees the open ultravnc port, as well as all the 192.168.1 LAN subnet users.
Last edited by sure on 2008-12-18 18:34, edited 7 times in total.
Post Reply