i have CentOS release 6.6 (Final) and ipset v6.11, protocol version: 6
I have created ipset and its default maxelem is 65536 and i want to increase this value.
I tried: service ipset save
sed -i "s|65536|999888|g" /etc/sysconfig/ipsetipset: Saving IP sets to /etc/sysconfig/ipset: [ OK ]
service ipset reload
I also tried: ipset save ...ipset: Current ip*tables configuration requires ipset [WARNING]
ipset: Current ip*tables configuration requires ipset [WARNING]
ipset: Loading IP sets: ipset v6.11: Error in line 1: Set cannot be created: set with the same name already exists [FAILED]
and "ipset restore" failed:
Is there any way to change maxelem without removing iptables rule, saving set, replacing maxelem and restoring set?ipset v6.11: Error in line 1: Set cannot be created: set with the same name already exists