{"id":6002,"date":"2016-09-22T07:49:55","date_gmt":"2016-09-22T07:49:55","guid":{"rendered":"https:\/\/bodhost.com\/kb\/?p=6002"},"modified":"2026-02-26T14:03:11","modified_gmt":"2026-02-26T14:03:11","slug":"want-to-block-an-ip-address","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/","title":{"rendered":"How to Block an IP Address? Here is a Solution"},"content":{"rendered":"<p><strong><div class=\"wp-block-image\"><\/strong><\/p>\r\n<figure class=\"aligncenter\"><strong><a href=\"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2016\/09\/ip-blocking-steps.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"674\" height=\"337\" class=\"wp-image-6065\" src=\"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2016\/09\/ip-blocking-steps.gif\" alt=\"ip-blocking-steps\" \/><\/a><\/strong><\/figure>\r\n<p><strong><\/div>\r\n\r\n\r\n\r\n<\/strong><\/p>\r\n<p class=\"wp-block-paragraph\">You might sometimes need to block a specific IP address from accessing your server for several reasons. Follow the simple instructions below which include creating an IPSec Security Policy specifying to block access to specific IP address \u2013<\/p>\r\n\r\n\r\n\r\n<ol>\r\n<li>Hover your mouse to the Start Menu and click on Run.<\/li>\r\n<li>Type \u201csecpol.msc\u201d in the run window and click OK.<\/li>\r\n<li>The Local Security Settings window will open. Click on \u201cIP Security Policies on Local Computer\u201d.<\/li>\r\n<li>Go to the right window pane, right-click, and select \u201cCreate IP Security Policy\u201d<\/li>\r\n<li>Click Next when the Wizard opens.<\/li>\r\n<li>The IPSec Security Policy window will open where you can name your new IPSec Security Policy. For example, it is named \u201cBlocked IPs\u201d here. After naming it, type a description and click Next.<\/li>\r\n<li>Leave the Activate the default response rule checked and then click Next.<\/li>\r\n<li>Again leave the Active Directory default (Kerberos V5 protocol) checked and click Next.<\/li>\r\n<li>A warning window will open but don\u2019t worry simply click Yes.<\/li>\r\n<li>Keep the Edit Properties box checked and click on Finish.<\/li>\r\n<li>Uncheck the \u201cUse Add Wizard\u201d checkbox and then click on \u201cAdd\u201d.<\/li>\r\n<li>Again click the Add button.<\/li>\r\n<li>Uncheck the \u201cUse Add Wizard\u201d checkbox and click Add.<\/li>\r\n<li>For \u201cSource Address\u201d, click the dropdown menu and choose \u201cA specific IP Address\u201d.<\/li>\r\n<li>This is where you will enter what IP address you want to block. In this example, the IP address \u201c129.12.74.220\u201d is to be blocked.<\/li>\r\n<li>Click the dropdown menu for \u201cDestination address\u201d select \u201cMy IP Address\u201d and click OK.<\/li>\r\n<li>Click OK.<\/li>\r\n<li>Select the newly created Filter and click on the Filter Action tab.<\/li>\r\n<li>Select the SI Deny rule and click Apply.<\/li>\r\n<li>Click OK, then Apply and OK again which will take you back to the main console window.<\/li>\r\n<li>If everything gets done successfully, it will indicate that the policy is assigned. Your server will now block all requests to that specific IP address.<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong><\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>You might sometimes need to block a specific IP address from accessing your server for several reasons. Follow the simple instructions below which include creating an IPSec Security Policy specifying&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[297],"tags":[795,775],"class_list":["post-6002","post","type-post","status-publish","format-standard","hentry","category-faq","tag-block-an-ip-address","tag-ip-address"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Block an IP Address? Here is a Solution<\/title>\n<meta name=\"description\" content=\"Learn how to block an IP address with our step-by-step guide. Prevent unwanted access to your website or network by restricting specific IP addresses.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Block an IP Address? Here is a Solution\" \/>\n<meta property=\"og:description\" content=\"Learn how to block an IP address with our step-by-step guide. Prevent unwanted access to your website or network by restricting specific IP addresses.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-22T07:49:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:03:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2016\/09\/ip-blocking-steps.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"674\" \/>\n\t<meta property=\"og:image:height\" content=\"337\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"author\" content=\"anilr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"anilr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/\"},\"author\":{\"name\":\"anilr\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8871ea0c76482a5a482e48538ae4dbb3\"},\"headline\":\"How to Block an IP Address? Here is a Solution\",\"datePublished\":\"2016-09-22T07:49:55+00:00\",\"dateModified\":\"2026-02-26T14:03:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/\"},\"wordCount\":321,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/ip-blocking-steps.gif\",\"keywords\":[\"block an ip address\",\"IP address\"],\"articleSection\":[\"FAQs\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/\",\"name\":\"How to Block an IP Address? Here is a Solution\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/ip-blocking-steps.gif\",\"datePublished\":\"2016-09-22T07:49:55+00:00\",\"dateModified\":\"2026-02-26T14:03:11+00:00\",\"description\":\"Learn how to block an IP address with our step-by-step guide. Prevent unwanted access to your website or network by restricting specific IP addresses.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/ip-blocking-steps.gif\",\"contentUrl\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/ip-blocking-steps.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/want-to-block-an-ip-address\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"FAQs\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/faq\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Block an IP Address? Here is a Solution\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8871ea0c76482a5a482e48538ae4dbb3\",\"name\":\"anilr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g\",\"caption\":\"anilr\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/anilr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Block an IP Address? Here is a Solution","description":"Learn how to block an IP address with our step-by-step guide. Prevent unwanted access to your website or network by restricting specific IP addresses.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/","og_locale":"en_US","og_type":"article","og_title":"How to Block an IP Address? Here is a Solution","og_description":"Learn how to block an IP address with our step-by-step guide. Prevent unwanted access to your website or network by restricting specific IP addresses.","og_url":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2016-09-22T07:49:55+00:00","article_modified_time":"2026-02-26T14:03:11+00:00","og_image":[{"width":674,"height":337,"url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2016\/09\/ip-blocking-steps.gif","type":"image\/gif"}],"author":"anilr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"anilr","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/"},"author":{"name":"anilr","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/8871ea0c76482a5a482e48538ae4dbb3"},"headline":"How to Block an IP Address? Here is a Solution","datePublished":"2016-09-22T07:49:55+00:00","dateModified":"2026-02-26T14:03:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/"},"wordCount":321,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/#primaryimage"},"thumbnailUrl":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2016\/09\/ip-blocking-steps.gif","keywords":["block an ip address","IP address"],"articleSection":["FAQs"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/","url":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/","name":"How to Block an IP Address? Here is a Solution","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/#primaryimage"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/#primaryimage"},"thumbnailUrl":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2016\/09\/ip-blocking-steps.gif","datePublished":"2016-09-22T07:49:55+00:00","dateModified":"2026-02-26T14:03:11+00:00","description":"Learn how to block an IP address with our step-by-step guide. Prevent unwanted access to your website or network by restricting specific IP addresses.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/#primaryimage","url":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2016\/09\/ip-blocking-steps.gif","contentUrl":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2016\/09\/ip-blocking-steps.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/want-to-block-an-ip-address\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"FAQs","item":"https:\/\/www.bodhost.com\/kb\/category\/faq\/"},{"@type":"ListItem","position":2,"name":"How to Block an IP Address? Here is a Solution"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/8871ea0c76482a5a482e48538ae4dbb3","name":"anilr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g","caption":"anilr"},"url":"https:\/\/www.bodhost.com\/kb\/author\/anilr\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=6002"}],"version-history":[{"count":7,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6002\/revisions"}],"predecessor-version":[{"id":12045,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6002\/revisions\/12045"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=6002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=6002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=6002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}