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 0.0.0.0/0,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

0.0.0.0/1,tcp:22
128.0.0.0/1,tcp:22

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

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

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.