ipset in current pve

Michael Lednev

Renowned Member
May 26, 2013
24
0
66
Yaroslavl, Russia
What is the current status of ipset? proxmox-ve-2.6.32 package seems to be dependent on ipset and xt_set.ko is present in pve-kernel package but I'm unable to use it.

# ipset -N set1 iphash
adds set without errors

# ipset --save
create set1 hash:ip family inet hashsize 1024 maxelem 65536
there it is

but iptables doesn't seem to find it



# ipset -A INPUT -i eth0 -m set --set set1 src -j ACCEPT
ipset v6.12.1: The set with the given name does not exist

Tried to do it "old way" by installing xtables-addons-common and its extra packages but -dkms one won't build.
 
but iptables doesn't seem to find it

# ipset -A INPUT -i eth0 -m set --set set1 src -j ACCEPT
ipset v6.12.1: The set with the given name does not exist

ipsets works without problems. Above command is wrong (s/ipset/iptables)!