regarding IPTables::IPv4
am 01.07.2005 17:30:25 von amreshHi to all
I am using IPTables::IPv4
But i have problem when i run file iptable.pl than iptable rule is
overwrite on previous iptable rule. I have also problem regarding how to
delete iptables rules in use IPTables::IPv4 and how to create iptable rule
I am writing my code*************************8
$table = IPTables::IPv4::init('filter');
use IPTables::IPv4;
$table = IPTables::IPv4::init('filter');
%IPTables::IPv4 = (
filter => {
INPUT => {
rules => [
{
source => '10.10.10.10/8',
jump => 'ACCEPT'
}
],
pcnt => 50000,
bcnt => 100000,
policy => 'DROP'
}
}
);