iptable Mark packet and use this mark in other rule
Hi, all
I'll like to mark all packet coming from and going to an ip adresse. And I'd like to match that mark packet in an other rule.
Ex :
Rule 1 : Mark all packet coming from 192.168.2.0/25 with number 1
Rule 2 : Drop all packets which has been mark with number 1
How could I write these tow rules.
Regards.
Last edited by toure32; 04-21-2010 at 02:33 PM.
|