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?