pkgsrc/net/openvpn-acct-wtmpx/MESSAGE
manu 26a3d749eb This OpenVPN plugin logs VPN logins and logouts in the wtmpx file.
Using it, you can have a look of OpenPVN usage by the last(1) command.
2010-07-14 04:46:18 +00:00

14 lines
644 B
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2010/07/14 04:46:18 manu Exp $
In order to enable the use of this module, add this directive to your
OpenVPN server configuration file
plugin /usr/pkg/lib/openvpn/openvpn-acct-wtmpx.so openvpn
In order to write to wtmpx(5) databases, OpenVPN needs root privileges.
It acquires them for that purpose by using the logwtmpx program, which
is set-UID root and executable by group nobody. Make sure that group does
fit the unprivilegied group you use for OpenVPN.
===========================================================================