From mboxrd@z Thu Jan 1 00:00:00 1970 From: "sean" Subject: time modules problem Date: Thu, 16 Oct 2003 14:56:08 +0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: <003d01c393b2$9484d1a0$710aa8c0@N> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003A_01C393F5.A19E1BB0" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_003A_01C393F5.A19E1BB0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable i get some problem that cannt del law like adding success=20 iptables -A FORWARD -p tcp -m time --timestart 08:00 --timestop 16:00 = --days Mon -j ACCEPT delete fail iptables -D FORWARD -p tcp -m time --timestart 08:00 --timestop 16:00 = --days Mon -j ACCEPT iptables: Bad rule (does a matching rule exist in that chain?) ------=_NextPart_000_003A_01C393F5.A19E1BB0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
i get some problem that cannt del law = like
adding success
iptables -A FORWARD -p tcp -m time --timestart 08:00 --timestop = 16:00=20 --days Mon -j ACCEPT
 
 delete fail
iptables -D FORWARD -p tcp -m time --timestart 08:00 --timestop = 16:00=20 --days Mon -j ACCEPT
iptables: Bad rule (does a matching rule exist in = that=20 chain?)
------=_NextPart_000_003A_01C393F5.A19E1BB0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alistair Tonner Subject: Re: time modules problem Date: Thu, 16 Oct 2003 16:56:07 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: <200310161656.07200.Alistair@nerdnet.ca> References: <003d01c393b2$9484d1a0$710aa8c0@N> Reply-To: Alistair@nerdnet.ca Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <003d01c393b2$9484d1a0$710aa8c0@N> Content-Disposition: inline Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: sean , netfilter@lists.netfilter.org On October 16, 2003 02:56 am, sean wrote: > i get some problem that cannt del law like > adding success > iptables -A FORWARD -p tcp -m time --timestart 08:00 --timestop 16:00 > --days Mon -j ACCEPT > > delete fail > iptables -D FORWARD -p tcp -m time --timestart 08:00 --timestop 16:00 > --days Mon -j ACCEPT iptables: Bad rule (does a matching rule exist in that > chain?) Try: locate rule: iptables -L -n --line numbers |more choose your rule line number from the list iptables -D FORWARD (line number) to delete the rule. -- Alistair Tonner nerdnet.ca Senior Systems Analyst - RSS Any sufficiently advanced technology will have the appearance of magic. Lets get magical!