OPNsense Forum

English Forums => Virtual private networks => Topic started by: amastrangelo on February 05, 2024, 11:30:17 AM

Title: istance openvpn question
Post by: amastrangelo on February 05, 2024, 11:30:17 AM
On older opnsense systems I used "status /var/etc/openvpn/openvpn.log" in advanced server's settings.
I have to do the same thing with a new instance. Where
can I enter this parameter?


thanks
Title: Re: istance openvpn question
Post by: cs1 on February 08, 2024, 09:35:50 AM
From what I can tell, you can't set this. That being said, you can retrieve all of the data contained in the logs via the OPNsense API: https://docs.opnsense.org/development/api/core/openvpn.html
The API is very easy to use and can be accessed securely with a user that only has privileges to read the openvpn API. Can you let us know what data you need to access?