AuthHosts

Manuel Martínez Valls mmartinezv "at" sanostra.es
Fri, 01 Jun 2001 09:54:51 +0000


Ok, now I've solved it. It was a very simple mistake. I was using Global
per-user setting (HKLM\Software\ORL\WinVNC3\Default) instead of Local
machine-specific setting (HKLM\Software\ORL\WinVNC3\). The problem with the
debug mode & level was exactly the same.


-----Mensaje original-----
De: owner-vnc-list "at" uk.research.att.com
[mailto:owner-vnc-list "at" uk.research.att.com]En nombre de Manuel Martmnez
Valls
Enviado el: jueves 31 de mayo de 2001 19:09
Para: vnc-list "at" uk.research.att.com
Asunto: AuthHosts


Hi,

	I'm trying to use the AuthHosts directive to limit the access to a
computer. I want to do the following:

	1. If a remote user is trying to connect from a subnetwork, by example
192.168.1.0, allow him to connect quietly.
	2. If a remote user is trying to connect from another subnet (192.168.2.0),
ask to the local user if he allows the connection.
	3. Deny the rest.

I'm using the WinVNC-3.3.3-r9 on both server and client. The server is
installed on a Winnt4 Server with SP5. As far as I understand I should edit
the server registry and add the following:

HKLM\Software\ORL\WinVNC3\AuthHosts (REG_SZ) = "-:?192.168.2:+192.168.1:"

I'm not sure if its necesary but I've add the following value too.

HKLM\Software\ORL\VNC\3.3.3\AuthHosts (REG_SZ) = "-:?192.168.2:+192.168.1:"

As it isn't working I've added more nexts values:

HKCU\Software\ORL\WinVNC3\AuthHosts (REG_SZ) = "-:?192.168.2:+192.168.1:"

HKLM\Software\ORL\WinVNC3\DebugLevel (REG_DWORD) = 0x0a (10)
HKLM\Software\ORL\WinVNC3\DebugMode (REG_DWORD) = 0x02 (2)
HKLM\Software\ORL\VNC\3.3.3\DebugLevel (REG_DWORD) = 0x0a (10)
HKLM\Software\ORL\VNC\3.3.3\DebugMode (REG_DWORD) = 0x02 (2)


And I still can connect from anywhere without any restriction, and I can't
find any WinVNC.log on the winvnc directory (or anywhere).

Any Idea? (I've tried other combinations but I'm trying to simplify the
question)

Thanks in advance,

	Manuel Martmnez Valls
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------