Easy. In the file /etc/ppp/ppp.linkup

add these 2 lines


MYADDR:
 ! sh -c "/sbin/pfctl -ef /etc/pf.conf"

This will enable your pf rules every time the link comes up.


[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?

Thanks
Rudi

_______________________________________________
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]"

Reply via email to