what rudi means to say is, in his rc.conf he has stuck instructions for his ppp to start on boot, and for pf to load on boot. problem is freebsd creates tun0 when ppp runs for the first time, not when the machine boots up, and as his pf.conf refers to tun0, pf won't start if it runs before ppp has started as there is no tun0 device and pf bombs out saying 'no such device'. (i know cause i had similar issue ;-)
what i did was make a start script in /usr/local/etc/rc.d/ that runs ppp, sleeps for 30 seconds (should be more than enough - i use telkom's adsl which takes about 10 seconds, and i think my mate's iburst connects in less than 30 seconds) and -then- runs pf -f /etc/pf.conf that should do the trick stephen On 1/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Good day, > > I am using freebsd 6.0 with PF and running a ADSL PPPoE internet connection. > > My PF ruleset uses tun0 for the external interface but sometimes the ppp > dialler does not start in time and the PF rules fail to load. Then after > a few seconds the PPPoE connection get's established and I have no > firewall. > > Does anyone know of a way around this problem? > > Without the ruleset it's going to be kind of difficult to help. This > does work, which means there's something wrong with your rules. > > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > _______________________________________________ freebsd-pf@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "[EMAIL PROTECTED]"