|
|
Nuno Marques wrote:
Hi, I still do not understand. Let's say that you achieve your goal... You forced the user to use Certificate+User+Password in order to establish the VPN connection. How do you avoid the user to issue a command like: NET USE \\xxx\cccc /user:aaaa And connect to the network using a different user? There are two layers of access control, network layer and application layer, they are independent. Using a certificate and not username+password is the right way to go, since if the user prove that he has access to the private key is stronger than if the user knows a password. You can check if this certificate matches some user in your directory... But this is unnecessary if you revoke the certificate of users who leave your site. After said that, have you checked common_name environment variable? Looking at the code it should be set to the common_name of the client certificate. Best Regards, Alon Bar-Lev.
Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00044.html on line 212 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00044.html on line 212 |