From owner-freebsd-pf@FreeBSD.ORG Tue Jan 17 21:10:20 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B0E616A41F for ; Tue, 17 Jan 2006 21:10:20 +0000 (GMT) (envelope-from js.lists@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E0B43D79 for ; Tue, 17 Jan 2006 21:10:12 +0000 (GMT) (envelope-from js.lists@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1125154wxc for ; Tue, 17 Jan 2006 13:10:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=sZcUqz4hZ1dA+/nYcwxbuQzAfDK1037cY9c6b23JhjdqoYc5fu9xT78lwD1vg9qh3r+RZDXbxlXguAx70rFjVQ1AqK57eN8TMo7HwMz1XbXoN2k+n6zXtiOFU8qltV4WSsUVPfnjrHL4w3tmv1vdcQcku5hTt3mpf2CEHFFuajU= Received: by 10.70.69.10 with SMTP id r10mr9679907wxa; Tue, 17 Jan 2006 13:10:11 -0800 (PST) Received: from ?10.100.58.33? ( [204.176.49.44]) by mx.gmail.com with ESMTP id i34sm9677384wxd.2006.01.17.13.10.10; Tue, 17 Jan 2006 13:10:11 -0800 (PST) Message-ID: <43CD5D2D.8080208@gmail.com> Date: Tue, 17 Jan 2006 13:10:05 -0800 From: Joe S User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: derth@wbs.co.za References: <18525.196.2.148.70.1137476403.squirrel@webmail.wbs.co.za> In-Reply-To: <18525.196.2.148.70.1137476403.squirrel@webmail.wbs.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-pf@freebsd.org Subject: Re: PF + PPPoE X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2006 21:10:20 -0000 Easy. In the file /etc/ppp/ppp.linkup add these 2 lines MYADDR: ! sh -c "/sbin/pfctl -ef /etc/pf.conf" This will enable your pf rules every time the link comes up. derth@wbs.co.za wrote: > Good day, > > I am using freebsd 6.0 with PF and running a ADSL PPPoE internet connection. > > My PF ruleset uses tun0 for the external interface but sometimes the ppp > dialler does not start in time and the PF rules fail to load. Then after > a few seconds the PPPoE connection get's established and I have no > firewall. > > Does anyone know of a way around this problem? > > Thanks > Rudi > > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >