At 08:40 AM 08/05/2006, balwant singh wrote:
Dear All,
I am able to see the details of users, which are presently connected
by following setting in server.conf
status openvpn-status.log
But i want to see the details of users which connected but now
disconnected. May please help me.
Try adding something like
client-connect "/usr/local/etc/openvpn/up.sh"
client-disconnect "/usr/local/etc/openvpn/down.sh"
In up.sh
/usr/bin/logger -p local3.notice -t UP $common_name ME
$ifconfig_local REMOTE $ifconfig_pool_remote_ip FROM $untrusted_ip
In down.sh
/usr/bin/logger -p local3.notice -t DOWN $common_name $username ME
$ifconfig_local REMOTE $ifconfig_pool_remote_ip FROM $untrusted_ip
sent=$bytes_sent received=$bytes_received
This will log to your local syslog server
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|