OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: aschild on February 08, 2023, 04:00:38 PM

Title: IPSEC no log in web UI but on disk
Post by: aschild on February 08, 2023, 04:00:38 PM
Hello,

we did just install a new Opnsense firewall 1-2 weeks ago with the latest 22.x release.
We did then upgrade it to 23.1 and just yesterday to 23.1_6

Now we did activate an ipsec connection, which is working as expected.

But in the WebUI we don't see any logs in the "VPN:IPsec:Log file"
When I ssh to the system, then I see the ip log file in the filesystem, including content

/var/log/ipsec # ls -l
total 41
-rw-------  1 root  wheel  211333 Feb  8 15:59 ipsec_20230208.log
lrwxr-x---  1 root  wheel      33 Feb  8 15:01 latest.log -> /var/log/ipsec/ipsec_20230208.log

Any ideas why these logs are not shown in the web UI and how to fix it?

PS: The system has been installed with zfs as file system
Title: Re: IPSEC no log in web UI but on disk
Post by: atom on February 08, 2023, 04:21:03 PM
Hello,

please check "VPN: IPsec: Advanced Settings" and set the debug level to "Basic".

Regards,
atom
Title: Re: IPSEC no log in web UI but on disk
Post by: franco on February 08, 2023, 04:37:16 PM
Perhaps try to adjust the log level in the GUI to view the "missing" entries :)


Cheers,
Franco
Title: Re: IPSEC no log in web UI but on disk
Post by: aschild on February 08, 2023, 04:42:00 PM
Yea, that was it.
In the web ui the defauölt setting was to only display critical errors...

Shame on me (or the one who did choose this as default setting  :D )