| Firewalling with OpenBSD's PF packet filter: EuroBSDCon 2007, København, September 12th 2007 | ||
|---|---|---|
| Prev | Next | |
Command line tables manipulation:
Add a table entry
$ sudo pfctl -t clients -T add 192.168.1/16
Show table contents
$ sudo pfctl -t clients -T show >/etc/clients
Replace table contents from a file
$ sudo pfctl -t clients -T replace -f /etc/clients
Commonly used commands - likely scripting candidates
Tip: look into cron(8) jobs