Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - msnumen

#1
General Discussion / Opnsense and pf anchors
May 04, 2021, 09:39:43 AM
Dear all,

I have been trying to implement anchors in opnsense as told in this guide:
https://www.openbsd.org/faq/pf/anchors.html
with no success

What I try is:
echo "block drop quick on igb0 inet from any to 104.21.67.140" | pfctl -a blockthiswebsite -f -

In this case I am trying to block this particular website.
Then I can execute:
pfctl -a "blockthiswebsite" -s rules
And I can see the rule I just wrote. So up until here one might thing this works.

But then I ping on that website and I can still access it, without any problem. So it has actually not blocked it.

Apart from that, if I execute:
pfctl -sr
I see a lot of rules but not the one I just added.



I have also tried to load the anchors from a file, without success either.


Any help regarding this issue would be greatly appreciated!.

Cheers