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

[Openvpn-users] Passing variable from client to server

  • Subject: [Openvpn-users] Passing variable from client to server
  • From: "Matt Shields" <mattboston@xxxxxxxxx>
  • Date: Fri, 18 May 2007 14:35:30 -0400

I have openvpn setup as a server.  It uses AD/LDAP to authenticate.  I
have a script that takes the username and finds the approriate ccd
file based on the username.  What I would like to know, is there a way
I can put a variable in the client's config file and pass that to the
vpn server's client-connect script?

The reason is if we are using the AD username to hold the client IP
info, if a client has 2 or more clients they will currently be
assigned the same address.  So I want to pass a client number for
these rare cases.
OpenVPN mailing lists