On 21.02.24 18:53, Peter Davis via Openvpn-users wrote:
LOG_FILE="/var/log/openvpn/Connections.log" I restarted the OpenVPN service and connected to the OpenVPN server with a client. I checked the file, but it was empty and nothing was registered. What is wrong?
Are directory and file writable for the user OpenVPN runs as?Does your system use SELinux? If yes, does SELinux allow the OpenVPN server process to write into that directory/file?
(Temporarily placing the file in /tmp instead should help you tell whether it is indeed a problem with OpenVPN accessing the file, or a problem in that OpenVPN doesn't try to write to the log in the first place.)
Kind regards, -- Jochen Bern Systemingenieur Binect GmbH
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users