[Voyage-linux] Question - iptables cannot remove a rule ("bad rule" error) - possible bug?
Kim-man 'Punky' TSE
(spam-protected)
Mon Oct 11 15:29:42 HKT 2010
Hi Lukas,
You need to put a rule number when delete a rule, see iptables -h
iptables -D chain rulenum [options]
- Punky
On 10/11/2010 1:32 PM, Lukáš Pecha wrote:
> Hi,
>
> I've recently installed Voyage 0.6.5 on my Alix board and when I started to configure Shorewall, I ran into an error
> with iptables.
>
> Shorewall start ends when it tries to remove rule "/sbin/iptables -D INPUT -m state --state ESTABLISHED,RELATED -j
> ACCEPT". It just says "Bad rule (does a matching rule exist in that chain?)".
>
> I cleared up the iptables and tried to add the same rule and then remove it manually - it did the same thing again, so
> it's not Shorewall, but something with iptables. It's working fine on my other linux box (opensuse). Somehow, iptables
> don't find the rule, which I want to remove.
>
> I have kernel version 2.6.30-voyage #1 PREEMPT, shorewall 4.0.15 and iptables 1.4.2 on my Voyage installation.
>
> Does anyone know what to do with it or do you need more information (if yes, what kind of information do you need)?
>
> Thanks in advance,
> Lukas
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list