All of lore.kernel.org
 help / color / mirror / Atom feed
* time modules problem
@ 2003-10-16  6:56 sean
  2003-10-16 20:56 ` Alistair Tonner
  0 siblings, 1 reply; 2+ messages in thread
From: sean @ 2003-10-16  6:56 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

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?)

[-- Attachment #2: Type: text/html, Size: 799 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: time modules problem
  2003-10-16  6:56 time modules problem sean
@ 2003-10-16 20:56 ` Alistair Tonner
  0 siblings, 0 replies; 2+ messages in thread
From: Alistair Tonner @ 2003-10-16 20:56 UTC (permalink / raw)
  To: sean, netfilter





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!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-16 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-16  6:56 time modules problem sean
2003-10-16 20:56 ` Alistair Tonner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.