Quote:
Originally Posted by Santoshkb
can i have your suggestion how can the 2nd time same rule be neglected/avoided from adding in iptable.
|
What application does add the same line then?
Quote:
Originally Posted by Santoshkb
if we enter twice.. the same appears twice.
|
Ah. You do. Well, then don't!
BTW, AFAIK iptables rules are processed on a "first match" basis. Once a "decision" is reached for the packet it doesn't traverse the rules below unless there's something I forgot.