What's new

[TUTORIAL] OpenVPN Connection/Disconnection Email Notifications

Does somebody have any idea or solution.

my output give at Common Name: client and not the client name thats has logged in/out :-(
Try adding
Code:
username-as-common-name
in the 'Custom Configuration' GUI, or change the script references
Code:
$common_name

to

$username
 
If you are using username/password authentication try adding in the Custom Configuration box:
Code:
--username-as-common-name
I'm not sure that will change what is logged, but then after authentication I think the username is substituted in the environment variables.

EDIT: @Martineau beat me to it with a better answer.
 
Thx @elorimer & @Martineau for the quick reply & solution.

i just change the code to:

Name:</b> $username<br><br>")

and now its working great :)
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top