> I connect to the internet using pppoe(8) by putting the following
> line in /etc/rc.local.conf:
>
> ppp -ddial pppoe
>
> However, the pf rules load before I have an internet connection and
> therefore pfctl reports an error.
>
> How does one load PF after ppp?
Being in the same situation I had not enabled PF through rc.conf of
rc.conf.local, instead I've put following in rc.local:
/usr/sbin/ppp -background -quiet pppoe
if [ $? -eq 0 ]; then
echo "PPP enabled"
pfctl -e
pfctl -f /etc/pf.conf
fi
I'm not sure whether it's correct or not, but it works for me :)
Regards,
--
Cezary Morga
"There are three kinds of lies: lies, damned lies, and statistics."
(Benjamin Disraeli)
[demime 1.01d removed an attachment of type application/pgp-signature which had
a name of signature.asc ]