On 2006/11/14 18:20, Leonardo Rodrigues de Mello wrote: > cp /etc/pf.conf /etc/pf.conf.orig > vi /etc/pf.conf > if pfctl -f /etc/pf.conf ... > echo "Restoring old configuration file" > cp /etc/pf.conf.orig /etc/pf.conf
it's good that you check and restore, but if the box restarts between saving the edited file and restoring the original, you only have the default dns/ssh/ping ruleset loaded from /etc/rc. consider editing a copy of the file, pfctl -nf to check it, then move into place (the ln/mv method as used for installing kernels is good since it keeps a valid, complete file available)...

