From owner-freebsd-pf@FreeBSD.ORG Thu Apr 7 15:33:15 2005 Return-Path: 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 C937E16A4CE for ; Thu, 7 Apr 2005 15:33:15 +0000 (GMT) Received: from helium.webpack.hosteurope.de (helium.webpack.hosteurope.de [217.115.142.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id F305643D46 for ; Thu, 7 Apr 2005 15:33:14 +0000 (GMT) (envelope-from me@hexren.net) Received: by helium.webpack.hosteurope.de running Exim 4.34 using asmtp from pd9552984.dip.t-dialin.net ([217.85.41.132] helo=192.168.0.2) id 1DJZ0L-0000dr-H0; Thu, 07 Apr 2005 17:33:13 +0200 Date: Thu, 7 Apr 2005 17:33:12 +0200 From: Hexren X-Mailer: The Bat! (v1.62i) Business X-Priority: 3 (Normal) Message-ID: <514227428.20050407173312@hexren.net> To: freebsd-pf@freebsd.org In-Reply-To: <20050407092319.xda2onpe68gw0040@mail.encontacto.net> References: <42553F80.50503@mail.uni-mainz.de> <20050407092319.xda2onpe68gw0040@mail.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re[2]: Using ppp/tun0 manually, how to trigger 'pf' automaticaly X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hexren 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: Thu, 07 Apr 2005 15:33:15 -0000 > Quoting "O. Hartmann" : >> Hello. >> >> I use the ppp utility to configure and setup a line (at the moment no >> other way possible). How can I trigger 'pfctl -F all -f /etc/pf.conf' >> after the line has been setup to make pf working with the tun0 assigned IP? > Me Too. Amazing, I was just going to ask that question. I finally have > a "working" pf on another machine as of 30 minutes ago and want to > install it in place of ppp -nat on another server to have a similar > configuration between home and work machines. Somewhere in my reading > about pf configurations, I saw a howto or an email that was basically a > simple howto use it with pf but I still haven't found it.:( I'm going > to keep searching and will let you know if I am able to find it. > thanks, > ed >> >> Or are there other way doing so? >> >> Thanks, >> Oliver --------------------------------------------- See man ppp under files: /etc/ppp/ppp.linkup Most basicly the contents of this file are executed after a connection has been established. I dont know what kind of firewall you're using but maybe this is helpfull to: Have you thought about using something like "( tun0 )". To my understanding this means "packets that come in through a IP address associated with the interface tun0". Hexren