Hello,
 
I have problems deleting a rule from any chain by specifying the rule itself, for example:
 
iptables -A FORWARD -p tcp -s $NET_IN --sport 1024: -d 0/0 --dport smtp -j ACCEPT
 
and then
 
iptables -D FORWARD -p tcp -s $NET_IN --sport 1024: -d 0/0 --dport smtp -j ACCEPT
 
gives me a "Bad rule: Does matching rule exist in chain" error. Btw, the variables used
here are of course defined.
 
When I use -v switch on both commands I can see that also the created rules (smtp to 25 etc.)
are the same, so it is not a problem of parsing itself.
 
Any help would be very appreciated.
 
Daniel Paul
 
dpaul{NOSPAM}@gmx.net