From owner-freebsd-questions@FreeBSD.ORG Sun Sep 20 06:01:17 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 B5DF81065670 for ; Sun, 20 Sep 2009 06:01:17 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 730088FC17 for ; Sun, 20 Sep 2009 06:01:17 +0000 (UTC) Received: by yxe2 with SMTP id 2so2601435yxe.3 for ; Sat, 19 Sep 2009 23:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=NxrkH5rlYL0qqKHSFRq8Xggx3ttpi6QPLoyPUBmokSA=; b=Uzg3F8+KKGptl/ddPume8oKKuzL0feHSXXEkns/YjfqEpsHbEwqQsZlV20/1t73LWH BQlbVD0dfv22XRppYF2Rn+32Rd4AFNTV8KriFRy3zEPaJ277AYRZSz0XVkC8xQndNIj+ AihvA7nueS69gxV55rlTlx8S2kb1+4L4lqVP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=j9g7R/Hx+4zL/TWZT4mrYDQc+c4LaVv5Ptiq7XPAMKkZttSXPNt165if0EQyzOY7ct MLtGPmxVMJ9TqGY6BmupGwSNEy22JisVABxai46DlzcIY9j1ZwpARMUkNaVqLYDy3Mb/ 0JJYGebPRnA5ouup1s9LMOr8o3Q3RSlWDQqU0= MIME-Version: 1.0 Received: by 10.150.107.2 with SMTP id f2mr6124491ybc.188.1253426476738; Sat, 19 Sep 2009 23:01:16 -0700 (PDT) In-Reply-To: <20090920054709.0d8d9330@gumby.homeunix.com> References: <11167f520909192030g7417c27as8555f7c8fcb8ac4a@mail.gmail.com> <20090920054709.0d8d9330@gumby.homeunix.com> Date: Sun, 20 Sep 2009 01:01:16 -0500 Message-ID: <11167f520909192301j67264900n5559d4b9d2320210@mail.gmail.com> From: "Sam Fourman Jr." To: RW Content-Type: text/plain; charset=ISO-8859-1 Cc: 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 06:01:17 -0000 > > 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