From owner-freebsd-stable@FreeBSD.ORG Thu Dec 16 13:07:45 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0287016A4CE for ; Thu, 16 Dec 2004 13:07:45 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7369243D48 for ; Thu, 16 Dec 2004 13:07:44 +0000 (GMT) (envelope-from kay.abendroth@raxion.net) Received: from [212.227.126.208] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CevM7-0003Vj-00 for freebsd-stable@freebsd.org; Thu, 16 Dec 2004 14:07:43 +0100 Received: from [80.144.186.153] (helo=[10.0.0.10]) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1CevM7-0000jg-00 for freebsd-stable@freebsd.org; Thu, 16 Dec 2004 14:07:43 +0100 Message-ID: <41C1889B.2080801@raxion.net> Date: Thu, 16 Dec 2004 13:07:39 +0000 From: Kay Abendroth User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041122 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <5982296404121316301232bcde@mail.gmail.com> <598229640412141458dd6ae07@mail.gmail.com> <5982296404121514234afb345e@mail.gmail.com> In-Reply-To: <5982296404121514234afb345e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:b74ade515889ad97333045239a316a52 Subject: Re: Problem with ppp and pf on FreeBSD 5.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 13:07:45 -0000 Hello, first of all: good choice choosing *BSD/UNIX. Mauricio Brunstein wrote: > I am new to FreeBSD, and UNIX in general but form the beginning I'm > fascinated. I had configured a FreeBSD 5.3 machine to be the > Firewall/gateway of 8 windows PC's. The machine has 2 interfaces one > (fxp0) is connected to the ADSL modem and the another (rl0) is > connected to a switch where the windows boxes are connected too. The > first problem is that sometimes, when ppp redial to the pppoe Internet > provider, I can use Internet from the FreeBSD machine, but not from > the internal network. I had found a workaround to this problem, I added > these lines to ppp.linkup > -------------------------------- > server:~ $ cat /etc/ppp/ppp.linkup > default: > ! pfctl -F all -f /etc/pf.conf > ! /usr/local/etc/ez-ipupdate.conf > --------------------------------- [...] The '! pfctl...'-line is ok, but the last one is bogus. Your intention was to start ez-ipupdate, but what you actually do is calling its configuration-file. You should change this to: ! /usr/local/etc/rc.d/ez-ipupdate.sh start And in ppp.linkdown you should have a line: ! /usr/local/etc/rc.d/ez-ipupdate.sh stop Bye, Kay