pfctl -nf /etc/pf.conf
... check for syntax errors only
pfctl -s rules
... show the current rules
pfctl -t abusers -T show
... show the entries of the table abusers
pfctl -t abusers -T flush
... remove all the entries of the table abusers
pfctl -t abusers -T delete 88.77.66.55
... remove the entry 88.77.66.55 from the table abusers
pfctl -t ssh_abusers -T show | tr -d " " > pf_dump.txt
... dump the contents of the ssh_abusers table into the pf_dump.txt file
for i in 'cat pf_dump.txt'; do pfctl -t ssh_abusers -T add $i; done
... restore the table dump into the ssh_abusers table
2026-04-11 12:39:17
minicms - © 2020-2026 Simeon Simeonov