Date: Sun, 20 Sep 2009 10:14:29 +0100 From: krad <kraduk@googlemail.com> To: "Sam Fourman Jr." <sfourman@gmail.com> Cc: RW <rwmaillists@googlemail.com>, freebsd-questions@freebsd.org Subject: Re: How to get pf to wait for ng0 Message-ID: <d36406630909200214m5da35720gd6c2e609388439f3@mail.gmail.com> In-Reply-To: <11167f520909192301j67264900n5559d4b9d2320210@mail.gmail.com> References: <11167f520909192030g7417c27as8555f7c8fcb8ac4a@mail.gmail.com> <20090920054709.0d8d9330@gumby.homeunix.com> <11167f520909192301j67264900n5559d4b9d2320210@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/9/20 Sam Fourman Jr. <sfourman@gmail.com>
> >
> > Take a look at what /etc/rc.d/ppp does
> >
> > Probably you need a script that runs after ng0 comes up and does
> > something similar.
>
>
> I found this, can I just paste it into /usr/local/etc/rc.d/mpd ? I am
> not very versed in shell scripting
>
> ppp_poststart()
> {
> # Re-Sync ipfilter and pf so they pick up any new network interfaces
> #
> /etc/rc.d/ipfilter quietresync
> /etc/rc.d/pf quietresync
> }
>
>
>
> Sam
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>
can you not add the line
cloned_interfaces="ng0"
to rc.conf(.local) it will create the pseudo interface very early on.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d36406630909200214m5da35720gd6c2e609388439f3>
