[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pppoe & tun0 addr

why not just start pf after the connection comes online once in the
that'll solve the redundant call problem
and i think tun0 is always what obsd uses to reference a pppoe connection
On Sat, 29 Mar 2003, Kent R. Spillner wrote:
> I use pppoe to connect to my DSL service provider.  I call ppp from
> rc.local so my 'net connection is established after pf has been started.
> The problem is that I use (tun0) in my pf.conf as my external address,
> but when pf loads pf.conf it spews some errors about tun0 not having any
> address associated with it.  Therefore, I have to reload my ruleset in
> /etc/ppp/ppp.linkup.
> That's not a problem; I'm just wondering if there is a better way to
> give tun0 a dummy address initially to appease pf and so that I don't
> have to reload my ruleset immediately (using (tun0) will automagically
> update my external addr, right?).
> Is a really stupid question?
> -Kent
> --
> Kent R. Spillner
> "They that can give up essential liberty to obtain a little
>   temporary safety deserve neither liberty nor safety."
>                                         - Benjamin Franklin