ipset in current pve

May 26, 2013
24
0
21
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)!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!