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 220.127.116.11/8
To my surprise, there is a florida based company that is using 18.104.22.168/16. APNIC is the parent owner but has sold/leased the range in question.
I want to block 22.214.171.124/8 but allow 126.96.36.199/16
will this work?
firewall-cmd --zone=public --permanent --add-rich-rule='rule family="ipv4" source address="188.8.131.52/8" drop'
firewall-cmd --zone=public --permanent --add-rich-rule='rule family="ipv4" source address="184.108.40.206/16" accept'
output from public.xml below
<rule family="ipv4"> <source address="220.127.116.11/8"/> <reject/> </rule><rule family="ipv4"><source address="18.104.22.168/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