Pf and ppp
From MyWiki
A bit of struggle with who starts first on my home router :-).
So, to solve the problem, I created /etc/ppp/ppp.linkup with the following content:
daemon# cat /etc/ppp/ppp.linkup perlico: !bg sh -c "sleep 3 && /sbin/pfctl -f /etc/pf.conf"
Delay of 3 seconds ensures that my link is up and IP is assigned to the interface. Without the delay, pf is still not a happy camper as I have few rules dependant on the IP of the external (ppp controled) interface and right after the link goes up, there is no IP address on it.