I secure my BSD servers with PF. In FreeBSD 9, PF has been updated to the same version as in OpenBSD 4.5.
I use lists in my PF configuration, as shown in this /etc/pf.conf snippet:
mgmt_hosts="{ 10.0.1.0/24, 172.19.8.0/24}"
When I have new management hosts, I add their IP address or subnets to the mgmt_hosts list. When PF reads this configuration file, every place that a rule references the list, an additional rule is created for each member of the l...
Published on November 10, 2011 08:51