From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Syed Faisal Gillani" Subject: deleting specific rule ... Date: Sat, 12 Jun 2004 01:13:26 +0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <001001c44ff0$8ec113a0$0300000a@serverxx> References: <20040611160047.73593.qmail@web50210.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C4501A.76D50420" 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_000D_01C4501A.76D50420 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable here is the list of rule in my iptables=20 -------------------------------------------------------------------------= ------- Chain INPUT (policy ACCEPT) target prot opt source destination DROP all -- anywhere anywhere MAC = 00:A0:C9:A0:B8:A5 DROP all -- anywhere anywhere MAC = 00:10:A4:9F:B5:27 DROP all -- anywhere anywhere MAC = 00:C0:26:78:04:D2 Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination -------------------------------------------------------------------------= ------- now i want to delete this rule .. DROP all -- anywhere anywhere MAC = 00:A0:C9:A0:B8:A5 wat will be the command in doing so ? thanks Faisal ------=_NextPart_000_000D_01C4501A.76D50420 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
here is the list of rule in my iptables =

Chain INPUT (policy=20 ACCEPT)
target     prot opt=20 source           &= nbsp;  =20 destination
DROP       all  = -- =20 anywhere           = ; =20 anywhere           MAC = 00:A0:C9:A0:B8:A5
DROP       all  = -- =20 anywhere           = ; =20 anywhere           MAC = 00:10:A4:9F:B5:27
DROP       all  = -- =20 anywhere           = ; =20 anywhere           MAC = 00:C0:26:78:04:D2
 
Chain FORWARD (policy=20 ACCEPT)
target     prot opt=20 source           &= nbsp;  =20 destination
 
Chain OUTPUT (policy=20 ACCEPT)
target     prot opt=20 source           &= nbsp;  =20 destination
 
 

now i want to delete this rule ..
 
DROP       all  -- =20 anywhere           = ; =20 anywhere           MAC = 00:A0:C9:A0:B8:A5
wat will be the command in doing so ?
 
thanks
Faisal
 
------=_NextPart_000_000D_01C4501A.76D50420--