*cut* > I'm unsure of this, too, and the man pages of hostname.if and pppoe seem > unclear about this. But I guess you're right - commands will be executed > only on system boot or network restart.
Yes that's kinda true. I just wonder that nobody asked about a solution before. Does everybody uses a hack familiar to pfctl -F all each 23hrs, 58 minutes and n seconds? :) Either no developer uses aDSL at home (with a ISP forcing him to reconnect every 24 hours) or nobody uses OpenBSD as router or nobody uses the connection permanently. :-/ It's hard to imagine that there's no other solution. > You set $ext_if to "pppoe0". Then by using ($ext_if) PF nows it has to > lookup the IP address of the interface, and reflect changes to it back > in the ruleset. So I guess at least at boot time it should be of help. > The ! command in the hostname.pppoe0 file is irrelevant at boot - you > don't have any states to flush. Well but why does it work with tun0? In fact pf should do exactly the same but with pppoe0 it just doesn't work (with tun0 it's all uberslow but works, no pfctl-execution needed). Is that a behavior wich is totaly kernel related and do I've realy no other option then using pfctl via cron to reactivate nat/routing because the IP of pppoe0 changed (that's realy stone age bs...)? :-/ I'm no pppoe nor a kernel expert so I'm happy about every piece of clarification. :-) Kind regards, Sebastian