From owner-freebsd-questions Mon Jul 22 7:38: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1E9337B400 for ; Mon, 22 Jul 2002 07:38:00 -0700 (PDT) Received: from hotmail.com (f21.law10.hotmail.com [64.4.15.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80C7443E67 for ; Mon, 22 Jul 2002 07:38:00 -0700 (PDT) (envelope-from graham_lillico@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 22 Jul 2002 07:38:00 -0700 Received: from 194.128.74.5 by lw10fd.law10.hotmail.msn.com with HTTP; Mon, 22 Jul 2002 14:38:00 GMT X-Originating-IP: [194.128.74.5] From: "Graham Lillico" To: freebsd-questions@FreeBSD.ORG Subject: RE: FreeBSD 4.6 and PPP Date: Mon, 22 Jul 2002 15:38:00 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 22 Jul 2002 14:38:00.0404 (UTC) FILETIME=[60CDB940:01C2318D] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG First of all sorry about the duplicate post, I got a bounce message and sent it again by mistake. Anyway back to the problem. I went from 4.5 to 4.6 but the only reason I'm using ipnat is that I am doing port forwarding from my firewall to my internal server for some services (www and smtp) and I don't know how to use ppp -nat. The other reason is that I'm using the ppp.conf file that was supplied to my with the speedtouch USB modem software and I need to reload my rules manually before I can connect to the outside world, i'm assuming that this is because the ADSL connection is established after the ipf rules have been loaded. On closer inspection I have noticed that I have not indented the ipf and ipnat lines in my ppp.linkup file and being that the sample files are doing this I guess it is required (can't belive I missed that). Regards Grez.. >From: "Joe & Fhe Barbish" >Reply-To: >To: "Graham Lillico" >Subject: RE: FreeBSD 4.6 and PPP >Date: Mon, 22 Jul 2002 10:24:33 -0400 > >You did not say what FBSD version you were coming from. >FBSD 4.5 & 4.6 contains a lot of changes to IPFW. >But your error message seems to indicate user ppp has been changed also. > >Ipfw & ipnat are launched from the rc.conf file and why would you want >to use ipnat instead of user ppp -nat function? > >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Graham Lillico >Sent: Monday, July 22, 2002 9:17 AM >To: freebsd-questions@FreeBSD.ORG >Subject: FreeBSD 4.6 and PPP > >Hi, > >I have upgraded my firewall to 4.6 but I am having problems with ppp.linkup >files. > >whenever I start ppp I get the following errors in my /var/log/ppp.log >file. > >Jul 22 13:22:14 loki ppp[660]: tun0: Warning: /etc/ppp/ppp.linkup: !bg ipf >-Fa -f /etc/ipf.rules: Invalid command >Jul 22 13:22:14 loki ppp[660]: tun0: Warning: /etc/ppp/ppp.linkup: !bg >ipnat >-CF -f /etc/ipnat.rules: Invalid command > >My ppp.linkup file contains the following, > >adsl: >!bg ipf -Fa -f /etc/ipf.rules >!bg ipnat -CF -f /etc/ipnat.rules > >both my ppp.conf and ppp.linkup files have permissions of 0600 > >Does anyone have any idea what the problem could be? I have checked the >man >pages and sample files but nothing seems to be working. > >Regards > >Grez.. > > >_________________________________________________________________ >Chat with friends online, try MSN Messenger: http://messenger.msn.com > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message