jump to navigation

OpenBSD – Reloading pf.conf 18 September 2006

Posted by Maulvi Bakar in : Unix,Work , trackback

OpenBSD, world most secure OS. Also one of the most User-Hostile ones. Now, I needed to reload the firewall rules. Modified some settings in the /etc/pf.conf and this is how did it to reload the ruleset –

$ pfctl -f /etc/pf.conf

This will reload the ruleset plainly from the file specified. The -R flag only loads the filtering rules. -N only loads the NAT rules. Should there be need to reload just the filtering and/or NAT rules, just use the appropriate options.



no comments yet - be the first?

Challenge *