On Monday 08 July 2002 10:08 pm, Mike G. Hammonds wrote: > Attached is a sample of my iptables script file located in the > /etc/sysconfig/ <dir>
Well, I can't see anything wrong with the line LOOPBACK="lo" which is the only place I can see the variable defined, but then I can't see any use of the variable $LOOPBACK either. Does the error occur on that line of the script, or later on (try commenting it out and see if the error goes away) ? How do you run the script ? Antony. > -----Original Message----- > From: Antony Stone [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 08, 2002 4:38 PM > To: netfilter > Subject: Re: Bad Argument error > > On Monday 08 July 2002 9:29 pm, Mike G. Hammonds wrote: > > Thanks > > I'm also getting this error > > Bad Argument 'LOOPBACK="lo" > > If the script you are running is reasonably short, post it here and we'll > try > and tell you why this error occurs. > > However, you should be able to find the problem for yourself by doing a > grep > > on the script for LOOPBACK and spot the line with the mistake ? > > Antony. > > > -----Original Message----- > > From: Antony Stone [mailto:[EMAIL PROTECTED]] > > Sent: Monday, July 08, 2002 4:18 PM > > To: netfilter > > Subject: Re: Bad Argument error > > > > On Monday 08 July 2002 9:00 pm, Mike G. Hammonds wrote: > > > I'm running RH7.2 with iptables1.2.4-2 > > > every time I start iptables I get the following error > > > Bad Argument 'LOG_LEVEL="notice" [FAILED] > > > > > > any ideas on how to fix this? > > > > Use a numeric argument to --log-level instead > > > > "notice"=5 > > > > So you would use > > > > iptables -A FORWARD -s 192.168.1.0/24 -j LOG --log-level=5 > > > > or whatever.... > > > > > > > > Antony.
