IS Mapping ipset to iptable chains possible

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

 



I m just learning to use ipsets .
I have a basic doubt

Suppose i create a ipset

ipset -N test ipmap --network 192.168.0.0/16

add a few ips
#ipset -A test 192.168.0.1
..
#ipset -A test 192.168.0.100

if i want to have 1 chain per ip

192.168.0.1 to CHAIN1
..
192.168.0.100 to CHAIN100


iptables -A FORWARD --set --match-set test src,dst -j DROP is perfect

--SET helps in add /del sets

is there a possiblity or am i not understanding it
Any pointers wud be helpful.

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


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux