PF + PPPoE

Joe S js.lists at gmail.com
Tue Jan 17 13:10:20 PST 2006


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.


derth at wbs.co.za 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
> 



More information about the freebsd-pf mailing list