FreeBSD pfctl Q&A

pfctl -s rules Show the current rules
pfctl -sa Show the current rules, connection tables, and statistics
pfctl -vvsa Show the current rules, connection tables, and statistics, with extra verbosity
pfctl -vvsTable Show the currently defined table statistics
pfctl -t smtpblock -T show Show the entries in table smtpblock.
pfctl -t smtpblock -T add -f /tmp/bl Add a list of IPs from file /tmp/bl to the table
pfctl -s rules Show the current rules

Leave a Reply

Този сайт използва Akismet за намаляване на спама. Научете как се обработват данните ви за коментари.