From owner-freebsd-questions@FreeBSD.ORG Sun Sep 20 09:14:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 167F61065679 for ; Sun, 20 Sep 2009 09:14:31 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8A9AF8FC16 for ; Sun, 20 Sep 2009 09:14:30 +0000 (UTC) Received: by bwz27 with SMTP id 27so1353202bwz.43 for ; Sun, 20 Sep 2009 02:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=kWaV3tk3syuww4cQqTUq9iukrPaYURpmY5QZo7gbyNA=; b=ecx/KMEVWqnXvKG5PQy9G0aGYpSIeTgjfEOP/w87Z0n9Dd1YgNQxZwYKZm/GDpwpu5 rY44FINd/4i/GE8ev4mbV2OEmw+g+jIProu9KHOVlR9+dV0hoKefa5mMkum+1H9QtI0o Ny6txeMOp18efniFvPxHNfZF29G+hT3pFmgCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Dr+6hRyjc5qCss6k58NFq2GBfSJBtMHcV+Em6HiHyn0dX5dIlOc/JdZvhFxR37gEYQ 1ggmOB7gPcE2bck3TRO7h5nlUSzqGLBUhoyFBPRMMl6fqNL+6LagXjvm3eUbVFPjk2X8 aFEXkw2PD/zBQEdJRFsSCuN6c9Ca769KW6q18= MIME-Version: 1.0 Received: by 10.239.144.92 with SMTP id n28mr254956hba.181.1253438069203; Sun, 20 Sep 2009 02:14:29 -0700 (PDT) In-Reply-To: <11167f520909192301j67264900n5559d4b9d2320210@mail.gmail.com> References: <11167f520909192030g7417c27as8555f7c8fcb8ac4a@mail.gmail.com> <20090920054709.0d8d9330@gumby.homeunix.com> <11167f520909192301j67264900n5559d4b9d2320210@mail.gmail.com> Date: Sun, 20 Sep 2009 10:14:29 +0100 Message-ID: From: krad To: "Sam Fourman Jr." Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: RW , freebsd-questions@freebsd.org Subject: Re: How to get pf to wait for ng0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2009 09:14:31 -0000 2009/9/20 Sam Fourman Jr. > > > > 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.