{"id":7466,"date":"2023-06-27T11:43:48","date_gmt":"2023-06-27T11:43:48","guid":{"rendered":"https:\/\/www.infinitivehost.com\/knowledge-base\/?p=7466"},"modified":"2023-06-27T11:43:49","modified_gmt":"2023-06-27T11:43:49","slug":"set-up-csf-firewall-to-block-traffic-by-country-via-cwp-panel","status":"publish","type":"post","link":"https:\/\/www.infinitivehost.com\/knowledge-base\/set-up-csf-firewall-to-block-traffic-by-country-via-cwp-panel\/","title":{"rendered":"Set Up CSF Firewall To Block Traffic By Country Via CWP Panel"},"content":{"rendered":"<div class='epvc-post-count'><span class='epvc-eye'><\/span>  <span class=\"epvc-count\"> 2,340<\/span><span class='epvc-label'> Views<\/span><\/div>\n<p>With the ConfigServer Security Firewall (CSF) Plugin, we may restrict traffic to websites hosted on CWP Panel by nation. A customer who requites the ability to restrict specific nations functions more over here. These steps will walk you through the process of activating this functionality.<\/p>\n\n\n\n<p><strong>STEPS:-<\/strong><\/p>\n\n\n\n<p>1. Login to CWP Panel. (root privileges).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"332\" height=\"357\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/port-img1-1.png\" alt=\"Set Up CSF Firewall To Block Traffic By Country Via CWP Panel\" class=\"wp-image-7467\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/port-img1-1.png 332w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/port-img1-1-279x300.png 279w\" sizes=\"(max-width: 332px) 100vw, 332px\" \/><\/figure>\n<\/div>\n\n\n<p>2. In the \u201cNAVIGATION\u2019 section, expand the \u2018SECURITY\u2019 option and click on \u2018CSF FIREWALL\u2019.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"644\" height=\"402\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img1.png\" alt=\"Set Up CSF Firewall To Block Traffic By Country Via CWP Panel\" class=\"wp-image-7468\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img1.png 644w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img1-300x187.png 300w\" sizes=\"(max-width: 644px) 100vw, 644px\" \/><\/figure>\n<\/div>\n\n\n<p>3. Now click on \u2018FIREWALL CONFIGURATION\u2019 and open the configuration file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"643\" height=\"487\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img3.png\" alt=\"Set Up CSF Firewall To Block Traffic By Country Via CWP Panel\" class=\"wp-image-7469\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img3.png 643w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img3-300x227.png 300w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/figure>\n<\/div>\n\n\n<p>4. On the configuration page, find the \u2018CC_DENY\u2019 section.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"503\" height=\"409\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img4.png\" alt=\"Set Up CSF Firewall To Block Traffic By Country Via CWP Panel\" class=\"wp-image-7470\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img4.png 503w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img4-300x244.png 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/figure>\n<\/div>\n\n\n<p>5. In this section we can block traffic by mention the country code for expamle IN for India, BZ for Brazil. And click on save changes then.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"509\" height=\"360\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img5.png\" alt=\"Set Up CSF Firewall To Block Traffic By Country Via CWP Panel\" class=\"wp-image-7471\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img5.png 509w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cwp-img5-300x212.png 300w\" sizes=\"(max-width: 509px) 100vw, 509px\" \/><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>2,340 Views With the ConfigServer Security Firewall (CSF) Plugin, we may restrict traffic to websites hosted on CWP Panel by nation. A customer who requites the ability to restrict specific nations functions more over here. These steps will walk you through the process of activating this functionality. STEPS:- 1. Login to CWP Panel. (root privileges). [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[66],"tags":[],"class_list":["post-7466","post","type-post","status-publish","format-standard","hentry","category-cwp"],"_links":{"self":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/7466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=7466"}],"version-history":[{"count":1,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/7466\/revisions"}],"predecessor-version":[{"id":7472,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/7466\/revisions\/7472"}],"wp:attachment":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=7466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=7466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=7466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}