{"id":308,"date":"2017-07-27T02:09:28","date_gmt":"2017-07-27T02:09:28","guid":{"rendered":"http:\/\/jaipurhosting.com\/blog\/?p=308"},"modified":"2019-04-29T15:40:11","modified_gmt":"2019-04-29T10:10:11","slug":"block-unblock-ip-address-csf-firewall","status":"publish","type":"post","link":"https:\/\/www.jaipurhosting.com\/blog\/block-unblock-ip-address-csf-firewall\/","title":{"rendered":"How to block \/ Unblock IP Address in CSF Firewall"},"content":{"rendered":"<p><strong>Description :&nbsp;<\/strong><\/p>\n<p>A firewall is a network security system either hardware- or software-based that uses rules to control incoming and outgoing network traffic.<\/p>\n<p>Firewall hepls to protect (a network or system) from unauthorized access.<\/p>\n<p>There are two types of firewall.<\/p>\n<p>1. <strong>Filtering Firewalls<\/strong> &#8211; that block selected network packets.<\/p>\n<p>2. <strong>Proxy Servers<\/strong> (sometimes called firewalls) &#8211; that make network connections for you.<\/p>\n<p>The role of a <strong>firewall<\/strong> is to prevent <strong>malicious traffic<\/strong> reaching the resources that it is protecting.<\/p>\n<p>Some security experts feel this is an outdated approach to keeping information and the resources it resides on safe.<\/p>\n<p>They argue that while firewalls still have a role to play, modern networks have so many entry points and different types of users that stronger access control and security at the host is a better technological approach to network security.<\/p>\n<p>We can see in below steps how to block\/unblock IP address in csf firewall.<\/p>\n<p><strong>Step 1 :&nbsp;<\/strong><\/p>\n<p>Login to your WHM using domainname.com\/whm using <strong>root<\/strong> credentials.<\/p>\n<p>Only root privileges can have the access to m<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-309\" src=\"http:\/\/jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/1-7.png\" alt=\"\" width=\"552\" height=\"601\" srcset=\"https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/1-7.png 552w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/1-7-276x300.png 276w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/p>\n<p><strong>Step 2 :&nbsp;<\/strong><\/p>\n<p>After logged in enter <strong>firewall<\/strong> in search box.<\/p>\n<p>Then click =&gt; \u201c<strong>configServer Security &amp; Firewall<\/strong>\u201d<\/p>\n<p>You can also find the option under Plugins.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-310\" src=\"http:\/\/jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/2-4.png\" alt=\"\" width=\"1195\" height=\"631\" srcset=\"https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/2-4.png 1195w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/2-4-300x158.png 300w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/2-4-768x406.png 768w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/2-4-1024x541.png 1024w\" sizes=\"auto, (max-width: 1195px) 100vw, 1195px\" \/><\/p>\n<p><strong>Step 3 : Allow IP address<\/strong><\/p>\n<p>Under <strong>csf<\/strong> &#8211; ConfigServer Firewall you can find <strong>Quick Allow<\/strong> field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-311\" src=\"http:\/\/jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/3-3.png\" alt=\"\" width=\"914\" height=\"578\" srcset=\"https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/3-3.png 914w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/3-3-300x190.png 300w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/3-3-768x486.png 768w\" sizes=\"auto, (max-width: 914px) 100vw, 914px\" \/><\/p>\n<p>Enter the <strong>IP Address<\/strong> in Allow IP address field<\/p>\n<p>We can also update the reason \/ comment for allowing IP address in <strong>Comment for Allow<\/strong> field.<\/p>\n<p><strong>Step 4 :&nbsp;<\/strong><\/p>\n<p>Once finished click =&gt; <strong>Quick Allow<\/strong> option for making changes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-312\" src=\"http:\/\/jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/4-1.png\" alt=\"\" width=\"933\" height=\"572\" srcset=\"https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/4-1.png 933w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/4-1-300x184.png 300w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/4-1-768x471.png 768w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/4-1-210x130.png 210w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/p>\n<p><strong>Step 5 :&nbsp;<\/strong><\/p>\n<p>Now the IP we have entered is added to the Firewall <strong>Allows IP\u2019s.<\/strong><\/p>\n<p><strong>Step 6 : Block IP address<\/strong><\/p>\n<p>Enter the IP Address in <strong>Block IP address<\/strong> field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-313\" src=\"http:\/\/jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/6-2.png\" alt=\"\" width=\"910\" height=\"573\" srcset=\"https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/6-2.png 910w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/6-2-300x189.png 300w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/6-2-768x484.png 768w\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" \/><\/p>\n<p>We can also update the reason \/ comment for allowing IP address in <strong>Comment for Allow<\/strong> field.<\/p>\n<p><strong>Step 7 :&nbsp;<\/strong><\/p>\n<p>Once finished click =&gt; Quick <strong>Deny option<\/strong> for making changes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-314\" src=\"http:\/\/jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/7-1.png\" alt=\"\" width=\"910\" height=\"573\" srcset=\"https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/7-1.png 910w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/7-1-300x189.png 300w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2017\/07\/7-1-768x484.png 768w\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" \/><\/p>\n<p><strong>Step 8 :&nbsp;<\/strong><\/p>\n<p>Now the IP we have entered is added to the Firewall <strong>Deny IP\u2019s.<\/strong><\/p>\n<p>****<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description :&nbsp; A firewall is a network security system either hardware- or software-based that uses rules to control incoming and outgoing network traffic. Firewall hepls to protect (a network or system) from unauthorized access. There are two types of firewall. 1. Filtering Firewalls &#8211; that block selected network packets. 2. Proxy Servers (sometimes called firewalls) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1005,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-308","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel"],"_links":{"self":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=308"}],"version-history":[{"count":3,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts\/308\/revisions"}],"predecessor-version":[{"id":1569,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts\/308\/revisions\/1569"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/media\/1005"}],"wp:attachment":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}