I'm using the openvpn-client.msi

Thank you,
Greg Borbonus
*Nix Server administrator

On 3/17/2014 10:48 AM, Jan Just Keijser wrote:
> Hi Greg,
>
> Greg wrote:
>> hi guys,
>>
>> I'm creating a logging system that is tracking the bandwidth of a 
>> particular user. The thing is, users can login to the same system 
>> multiple times. So I need to assign a unique id for tracking to each 
>> connection.
>>
>> Is there a way to set an environment variable from the script at 
>> client-connect or from another option?
> it is not possible from a client-connect script to set an env var that 
> will "live" after the client-connect script has finished. You 
> could/should use a file or database based system to record a user's 
> login ; also, if you do NOT specify '--duplicate-cn' then a user is 
> allowed to connect using a single instance/IP address at a time.
>
>> Also, when I setup and ovpn file, In the client I see: "This is a 
>> static profile that will connect to %S@%S"
>>
>> Anyone know how I can correct that string %S@%S to something@something?
>>
>
> this code is not present in the open source version of the openvpn 
> client. Which client software are you using?
>
> HTH,
>
> JJK
>
> PS posting the same question to the ppp-dev list is not appreciated there
>
>


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to