I saw this on a Linux terminal query of docker containers: $ docker search openvpn RE:auspexeu/openvpn-status A web-based application to monitor OpenVPN s… and RE:chuckremes/openvpn-client Container for openvpn client connections tha…
A web-based application to monitor OpenVPN server client connections https://github.com/AuspeXeu/openvpn-status I did not, but You can search for: chuckremes/openvpn-client Container for openvpn client connections tha… Thanks, Don On 2/23/21 12:11 PM, Jan Just Keijser wrote: > Hi Dante, > > On 23/02/21 18:01, Dante F. B. Colò wrote: >> Hi everyone !! >> >> >> I'm looking for some better way to generate a report of users >> sessions only to get info when they start and end a session , >> currently i do it with a shell script that looks for lines in the >> openvpn log file when someone connect and authenticate successfully >> and for disconnection i look for those lines when a client send a >> explicit notify or signals SIGTERM and SIGUSR. If someone here know a >> proper way to do it or some ready tool /software that generate this >> info please help me. >> >> > from the man page > > --status file [n] > Write operational status to file every n seconds. > > Status can also be written to the syslog by sending a > SIGUSR2 signal. > > With multi-client capability enabled on a server, the > status file includes a list of clients and a > routing table. The output format can be controlled by > the --status-version option in that case. > > For clients or instances running in point-to-point mode, > it will contain the traffic statistics. > > --status-version [n] > Set the status file format version number to n. > > This only affects the status file on servers with > multi-client capability enabled. > > 1 -- traditional format (default). The client list > contains the following fields comma-separated: Com‐ > mon Name, Real Address, Bytes Received, Bytes Sent, > Connected Since. > 2 -- a more reliable format for external processing. > Compared to version 1, the client list contains > some additional fields: Virtual Address, Virtual IPv6 > Address, Username, Client ID, Peer ID. Future > versions may extend the number of fields. > 3 -- identical to 2, but fields are tab-separated. > > > > is this what you are looking for? > > HTH, > > JJK > > > > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openvpn-users _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users