Openvpn Logins page
i would like to monitor per user when he/she connected/disconnected.
in Pfsense 2.1.5 we used the PPTP Logins page. (/diag_logs_vpn.php)
this would shows something like this:
Mar 2 14:17:19 [logout] test 22.214.171.124
Mar 2 14:14:20 [login] test 126.96.36.199
Feb 16 11:38:47 [logout] test 188.8.131.52
Feb 16 11:35:55 [login] test 184.108.40.206
so with a cron i pulled in this data and made a web UI so i could see the total time connected for eatch user and a log of when he/she connected/disconnected this worked perfect for us.
but for openvpn there is no logins log page. there is only the status_logs.php?logfile=openvpn page.
these Logs are pretty hard to proces since it shows data in this format.
Mar 6 09:49:59 openvpn 19520 220.127.116.11:40469 [test] Peer Connection Initiated with [AF_INET]18.104.22.168:40469
Mar 6 09:50:01 openvpn 19520 test/22.214.171.124 send_push_reply(): safe_cap=940
Mar 6 09:55:25 openvpn 19520 test/126.96.36.199:40469 [test] Inactivity timeout (--ping-restart), restarting.
Would it be possible to make an Openvpn logins page?
Or to make a pfsense package that just saves all connect/disconnect times/date And a totaltime connect per user?
is there a package maby for pfsense i could install to show me the connected/disconnect time and total time?
Thanks in advance