Re: Help deleting a rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cameron Smith wrote:
Hello,

If I run:
iptables -L -n -v |grep xx.xx.xx.xx

I get:
112  6272 DROP       all  --  eth+   *       xx.xx.xx.xx         0.0.0.0/0

I want to delete this specific rule.
>From what is printed above how do I know what line this is to use this command?

iptables -D INPUT x

Where x is the line number?

iptables -h

look for --line-numbers


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux