Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Right now, if I do

ipset a ansible_allowed,tcp:22

I get

ipset v6.19: The value of the CIDR parameter of the IP address is invalid

and instead I have to add,tcp:22,tcp:22

Are there any better workarounds or am I doing something wrong? If I add without the CIDR, it will not match anything.

share|improve this question
I'm using CentOS 7. –  Matrix Aug 3 '14 at 9:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.