|
||||
A simple "block" works for me. It becomes a "block drop all" when loaded as the ruleset:
Code:
$ echo block | doas pfctl -f - $ doas pfctl -sr block drop all Code:
$ ping www.google.com ping: no address associated with name |
|
||||
Looking at this again, it appears to me as if PF is not enabled:
Quote:
% sudo pfctl -ef pf_ks.conf to ensure PF is enabled. At least, that's how it's enabled on OpenBSD. For FreeBSD, the applicable kernel module must also be loaded.
Last edited by jggimi; 30th September 2020 at 07:16 PM. Reason: edit: word |
|
||||
Quote:
Thanks |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
To block Facebook with PF | sabrina | OpenBSD Security | 7 | 18th November 2020 11:19 PM |
PF block in / block in all | sputnik | OpenBSD Security | 5 | 28th September 2020 11:31 PM |
pf block command help | newbsdied | OpenBSD Security | 1 | 7th November 2010 12:50 AM |
Block IDM-DAP-P2P | mohammadreza | OpenBSD Security | 5 | 25th February 2010 09:59 AM |
block spam | milo974 | OpenBSD Security | 1 | 26th May 2009 11:30 AM |