Please contact your support team if you have a question or need assistance for any Rackspace products, services, or articles.
Here is my dilemma, I have blocked all countries outside of the USA in particular APNIC 126.96.36.199/8
To my surprise, there is a florida based company that is using 188.8.131.52/16. APNIC is the parent owner but has sold/leased the range in question.
I want to block 184.108.40.206/8 but allow 220.127.116.11/16
will this work?
firewall-cmd --zone=public --permanent --add-rich-rule='rule family="ipv4" source address="18.104.22.168/8" drop'
firewall-cmd --zone=public --permanent --add-rich-rule='rule family="ipv4" source address="22.214.171.124/16" accept'
output from public.xml below
<rule family="ipv4"> <source address="126.96.36.199/8"/> <reject/> </rule><rule family="ipv4"><source address="188.8.131.52/16"/><accept/></rule>
Hello Mr. Snyder,
This is not a Rackspace Public Cloud question per se, but a question on how firewalld operates. You may wish to ask Red Hat support or check in the CentOS community forums for the answer.
Thanks and we do apologize for the inconvenience.
Brian KCloud Virt Engineer II, RHCVA, CCNARackspace Openstack Public Cloud