|
|
|
@ -7,7 +7,7 @@ the logs available on your system. In the UI of OPNsense, the log files are gene
|
|
|
|
|
with the settings of the component they belong to. The log files can be found here:
|
|
|
|
|
|
|
|
|
|
------
|
|
|
|
|
System
|
|
|
|
|
System
|
|
|
|
|
------
|
|
|
|
|
|
|
|
|
|
============================= =================================================== =============================================================
|
|
|
|
@ -29,7 +29,7 @@ System
|
|
|
|
|
/var/log/routing.log (clog)
|
|
|
|
|
|
|
|
|
|
----------
|
|
|
|
|
Interfaces
|
|
|
|
|
Interfaces
|
|
|
|
|
----------
|
|
|
|
|
|
|
|
|
|
==================== ============================================================== ===================================================================
|
|
|
|
@ -43,7 +43,7 @@ Interfaces
|
|
|
|
|
/var/log/ppps.log (clog)
|
|
|
|
|
|
|
|
|
|
--------
|
|
|
|
|
Firewall
|
|
|
|
|
Firewall
|
|
|
|
|
--------
|
|
|
|
|
|
|
|
|
|
================ ======================================================== =============================================================================
|
|
|
|
@ -55,6 +55,32 @@ Firewall
|
|
|
|
|
Log files on file system:
|
|
|
|
|
/var/log/filter.log (clog)
|
|
|
|
|
|
|
|
|
|
Live View
|
|
|
|
|
---------
|
|
|
|
|
|
|
|
|
|
Live view updates itself in realtime if a rule is matched that has logging enabled or one of the global logging options is enabled under:
|
|
|
|
|
:menuselection:`System --> Settings --> Logging`
|
|
|
|
|
|
|
|
|
|
For better troubleshooting you can provide a filter string. This filter may include regular expressions.
|
|
|
|
|
Lets assume one logging entry as one single string without special separators.
|
|
|
|
|
|
|
|
|
|
So for just displaying packets that match DNS replies from wan to your lan clients in segment 192.168.1.0/24, you have to use:
|
|
|
|
|
|
|
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
|
|
WAN.*:53.*192.168.1
|
|
|
|
|
|
|
|
|
|
or to be even more correct
|
|
|
|
|
|
|
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
|
|
WAN.*:53.*192\.168\.1\.
|
|
|
|
|
|
|
|
|
|
========== ====================== ===================== ====================== ========================
|
|
|
|
|
**WAN** **.*** **:53** **.*** **192\.168\.1\.**
|
|
|
|
|
Interface 1 or more characters first match of port 1 or more characters destination ip address
|
|
|
|
|
========== ====================== ===================== ====================== ========================
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
VPN
|
|
|
|
|
---
|
|
|
|
|