{"id":461,"date":"2025-12-28T20:36:19","date_gmt":"2025-12-28T19:36:19","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=461"},"modified":"2026-06-07T17:08:28","modified_gmt":"2026-06-07T15:08:28","slug":"how-do-i-use-filters-if-you-use-cloudflare","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-do-i-use-filters-if-you-use-cloudflare\/","title":{"rendered":"How to I use filters if you use CloudFlare?"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">If you use <a href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/what-is-cloudflare\/\">CloudFlare<\/a>, which we provide free of charge to our customers, you have <a href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/cloudflare-account-access-data\/\">the option to log in<\/a> to the backend of this service provider and define additional filters there to protect your website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One of the forms of filtering that we will present and that you can run is to specify from which countries you do not want to receive traffic to your website. This is especially useful in a situation where you have noticed that, for example, a lot of visits are generated from Asia, e.g. China, and your website or store is not directed from recipients from these locations.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setting the filter<\/h3>\n\n\n\n<\/div>\n\n<div id=\"mybox-2488886948\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\"><strong>1.<\/strong> Log in to the panel on <a href=\"https:\/\/cloudflare.com\" target=\"_blank\" rel=\"noreferrer noopener\">the cloudflare.com<\/a> website by clicking on the <strong>Log In<\/strong> link in the upper right corner<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"378\" height=\"150\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-313.png\" alt=\"\" class=\"wp-image-4669\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-313.png 378w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-313-300x119.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-313-18x7.png 18w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<p class=\"wp-block-paragraph\"><strong>2.<\/strong> Use the access data of the account that you created yourself before or <a href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/cloudflare-account-access-data\/\">downloaded<\/a> from <strong>the mybox panel<\/strong>.<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"462\" height=\"655\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-315.png\" alt=\"\" class=\"wp-image-4673\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-315.png 462w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-315-212x300.png 212w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-315-8x12.png 8w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<p class=\"wp-block-paragraph\"><strong>3.<\/strong> Select the domain you will be working on.<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"175\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-316.png\" alt=\"\" class=\"wp-image-4674\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-316.png 538w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-316-300x98.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-316-18x6.png 18w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<p class=\"wp-block-paragraph\"><strong>4.<\/strong> Once the domain management page loads, go to the <strong>Security<\/strong> section and then to the <strong>Security Rules<\/strong> tab.<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"284\" height=\"574\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-318.png\" alt=\"\" class=\"wp-image-4676\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-318.png 284w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-318-148x300.png 148w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-318-6x12.png 6w\" sizes=\"auto, (max-width: 284px) 100vw, 284px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<p class=\"wp-block-paragraph\"><strong>5.<\/strong> You will see how many rules are currently in use. You can create up to five rules with a free account. Click the <strong><em>&#8220;Create rule&#8221;<\/em><\/strong> button to proceed to the creation process.<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"416\" height=\"268\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-319.png\" alt=\"\" class=\"wp-image-4677\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-319.png 416w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-319-300x193.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-319-18x12.png 18w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<p class=\"wp-block-paragraph\"><strong>6.<\/strong> Set the rule by filling in the individual fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Rule name<\/strong> &#8211; this is a friendly name for the rule. With a few set, it will allow you to easily identify what is being addressed.<\/li>\n\n\n\n<li><strong>Field<\/strong> &#8211; In the example, <strong>Country<\/strong> has been selected to set filtering based on the country.<\/li>\n\n\n\n<li><strong>Operator<\/strong> &#8211; specifies the condition, i.e. in the case of a country:<br><strong>equal<\/strong> (exact indication of one country), <strong>does not equal<\/strong> (excluding the selected country), <strong>is in<\/strong> (belongs to the group), <strong>is not in<\/strong> (does not belong to the group).<\/li>\n\n\n\n<li><strong>Value<\/strong> &#8211; is a dynamic field depending on the position selected in the <strong>Field<\/strong> field. When Country is selected, this list will include a list of countries to choose from. Here, note that if you plan to select one country, you should select <strong>equal<\/strong> in the <strong>Operator <\/strong>field, and if you want to select more than one country, select <strong>is in<\/strong>, i.e. belonging to the group.<\/li>\n\n\n\n<li><strong>Then&#8230;<\/strong> &#8211; defines what action is to be taken if the rule is met. You can choose: <strong>Block<\/strong> , <strong>JS Challenge<\/strong> &#8211; javascript-based challenge, <strong>Challenge (captcha)<\/strong> &#8211; a challenge consisting in rewriting the code from the image, <strong>Allow<\/strong> &#8211; allowing or <strong>Bypass<\/strong> .<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have made the settings, run the filtering rule by clicking the <strong><em>&#8220;Deploy&#8221;<\/em><\/strong> button.<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"704\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-320-1024x704.png\" alt=\"\" class=\"wp-image-4678\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-320-1024x704.png 1024w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-320-300x206.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-320-768x528.png 768w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-320-18x12.png 18w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-320.png 1030w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[12,25],"manual_kb_tag":[3173,3174,3175,3176,3177,3178,936,1045,3171,3172],"class_list":["post-461","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-cloudflare","manualknowledgebasecat-hosting","manual_kb_tag-cloudflare-firewall","manual_kb_tag-cloudflare-login","manual_kb_tag-free-cloudflare-account","manual_kb_tag-create-rule","manual_kb_tag-deploy-rule","manual_kb_tag-country-blocking","manual_kb_tag-cloudflare","manual_kb_tag-security-rules","manual_kb_tag-cloudflare-security","manual_kb_tag-cloudflare-rules"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":3,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/461\/revisions"}],"predecessor-version":[{"id":3886,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/461\/revisions\/3886"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=461"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=461"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}