hostname.if is a many-splendid thing - part II
Code:
# pg /etc/hostname.tun0
inet 169.254.235.1 255.255.255.252 169.254.235.2 group jabberwalkie
!/sbin/route add 169.254.235.0/24 169.254.235.1
#
Code:
/etc/pf.conf
#
pass in log quick on jabberwalkie inet \
from <wherever> to (jabberwalkie:network) \
flags S/FSRA keep state ...
#
pf will -- now -- parse correctly whether tun0 is up or down. The () change state will be detected appropriately.