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

Limit client connect to 1 IP address

Here you will find help for frequently asked questions as well as for your specific question
Post Reply
wilx
Posts: 2
Joined: 2022-03-22 16:39

Limit client connect to 1 IP address

Post by wilx »

Hi,
If I want to limit the connection to VNC Server to only 1 IP address, how do I do it?

I tried changing

AuthHosts= +192.168.0.145

But it still lets any IP address connect to the server

Thanks
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Limit client connect to 1 IP address

Post by Rudi De Vos »

AuthHosts= -:+192.168.0.145
disallow all -:
and allow:+192.168.0.145

You can also use
?:+192.168.0.145
with QueryAccept=0
Then you get a popup that ask permission if ip is not 192.168.0.145, and when noody answer result is refused.
wilx
Posts: 2
Joined: 2022-03-22 16:39

Re: Limit client connect to 1 IP address

Post by wilx »

Thank you

AuthHosts= -:+192.168.0.145

Worked as I wanted
Post Reply