[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Re: User-IP pair


  • Subject: [Openvpn-users] Re: User-IP pair
  • From: Charles Duffy <cduffy@xxxxxxxxxxx>
  • Date: Wed, 04 May 2005 19:58:34 -0500

On Wed, 04 May 2005 19:34:58 -0500, Luis Daniel Lucio Quiroz wrote:

> Is it a way to make OpenVPN to assign a IP to a particular User no matters
> on what workstation it's logged?

Are certificates specific to the workstations or carried around by the
users (ie. on a USB key)? If the latter, it's easy -- use a
client-config-dir with config files specifying the IP to use, and there
you are. (OTOH, if your goal is to trace back from an IP to the user who's
logged on, you can dynamically add DNS entries as part of your
learn-address scripts, which is what I do; the IPs may vary, but the
addresses stay the same). Otherwise, you can use username-as-common-name
to have the client-config-dir indexed by usernames; or you can have a
client-connect script that looks at the "username" variable to decide what
IP to assign.

So, yes -- there are several ways to do this.


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


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/2005-05/msg00045.html on line 192

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/2005-05/msg00045.html on line 192