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

OpenVPN with UltraVNC

Post Reply
virdual
Posts: 1
Joined: 2021-01-18 15:49

OpenVPN with UltraVNC

Post by virdual »

I'm trying to figure out a way to block all incoming connections with the exception of a few IP's for my UltraVNC server. I am aware that the ultravnc.ini can be modified with AuthHosts using the following string template:

-:+[ip-address-here]:+[ip-address-here]

+ = Allow only these IPs
- = Deny only these IPs
? = Query these IPs

In addition to this, you can give IP ranges for internal networks (i.e. +192.168.1 = all IPs from 2-254). I want to only allow one other public IP (a static IP of another secure location) as well as 172.19.13.X. I have an OpenVPN set up that is using 172.19.13.2-6. No matter what I have tried, I cannot get the server to recognize that I am tunneling into the network with an approved internal IP. It keeps rejecting me.

The weird thing is, I set this up two days ago and it worked with the 3-4 tests I did. 2 days later I try it again and the process has broken (with no changes to the ini). Am I missing something here?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: OpenVPN with UltraVNC

Post by Rudi De Vos »

Activate winvnc logging and check what ip is refused. vnclog.log or mslog.log should indicate the ip's

I gues you use something like this as rule.
Refuse all except...
-*:+192.168.1:+172.19.13
Post Reply