Load PF after all networks are ready

2015-01-13 Thread Zhi-Qiang Lei
My router powered by OpenBSD 5.6 is connecting to a WAN via PPPoE. After boot I have to run ‘pf -f /etc/pf.conf’ to get NAT work. Is PF loaded before the PPPoE is ready? How can I fix it? Thanks. # $OpenBSD: pf.conf,v 1.53 2014/01/25 10:28:36 dtucker Exp $ # # See pf.conf(5) for syntax a

Re: Load PF after all networks are ready

2015-01-13 Thread Cosmo Wu
So the PPPoE is up when the Box boots ? if not , the PF won't load . please refer to the /etc/rc , if you set your PPPoE on the hostname.if ,the PF would load after the network initiates. but if you are using other tools to configure PPPoE ,PF will precede , I think. thanks. On 14.01.2015

Re: Load PF after all networks are ready

2015-01-13 Thread Claudio Jeker
On Wed, Jan 14, 2015 at 02:19:57PM +0800, Zhi-Qiang Lei wrote: > My router powered by OpenBSD 5.6 is connecting to a WAN via PPPoE. After boot > I have to run ???pf -f /etc/pf.conf??? to get NAT work. Is PF loaded before > the PPPoE is ready? How can I fix it? Thanks. > > # $OpenBSD: pf.conf