How to use regex in pfsense firewall logs (GUI)


pfSense: 2.3.2-RELEASE-p1

How can I filter two ports in the firewall logs? I just can't figure it out. Go to Status > System Logs > Firewall > Normal view > Advanced Log Filter to try. Like on the picture, I want to filter out every IP using ports 67 and 137. But no result. I looked up in the regex doc, tried multiple combinations but nothing works. When I put one value, then there is no problem.

enter image description here

UPDATE

This resolved my problem. I had to remove the spaces.

enter image description here

1 Answer


Answer from pfSense forum:

Remove the spaces. What that is actually filtering on is "67 "|" 137"

Credits to NOYB

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like