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" <[EMAIL PROTECTED]> >Reply-To: <[EMAIL PROTECTED]> >To: "Graham Lillico" <[EMAIL PROTECTED]> >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: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]]On Behalf Of Graham Lillico >Sent: Monday, July 22, 2002 9:17 AM >To: [EMAIL PROTECTED] >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 [EMAIL PROTECTED] >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 [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message