Date: Tue, 17 Jan 2006 13:10:05 -0800 From: Joe S <js.lists@gmail.com> To: derth@wbs.co.za Cc: freebsd-pf@freebsd.org Subject: Re: PF + PPPoE Message-ID: <43CD5D2D.8080208@gmail.com> In-Reply-To: <18525.196.2.148.70.1137476403.squirrel@webmail.wbs.co.za> References: <18525.196.2.148.70.1137476403.squirrel@webmail.wbs.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43CD5D2D.8080208>