{"id":1658,"date":"2014-07-28T12:58:44","date_gmt":"2014-07-28T12:58:44","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=1658"},"modified":"2023-08-03T08:00:07","modified_gmt":"2023-08-03T07:00:07","slug":"disable-icmp-requests-cpanel-server","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/","title":{"rendered":"How To Disable ICMP Requests On cPanel Server ?"},"content":{"rendered":"<p>PING (Packet InterNet Groper) is used to send ICMP (Internet Control Message Protocol) requests to the remote host &amp; wait for an ICMP response. Using this protocol you can check if the remote host is accessible over the network. <!--more--><\/p>\n<p>You can disable these ICMP requests to your server in order to stop the ICMP attack targeting your servers. By default, incoming ICMP requests are enabled on Linux cPanel Servers. You can disable them using 4 different methods.<\/p>\n<p>1. Execute the command below &amp; it will disable incoming ICMP requests to your server.<\/p>\n<blockquote><p>echo 1 &gt; \/proc\/sys\/net\/ipv4\/icmp_echo_ignore_all<\/p><\/blockquote>\n<p>2. Open the file \/etc\/sysctl.conf &amp; add the value below.<\/p>\n<blockquote><p>net.ipv4.icmp_echo_ignore_all = 1<\/p><\/blockquote>\n<p>Save the settings with command<\/p>\n<blockquote><p>sysctl -p<\/p><\/blockquote>\n<p>3. If you have CSF installed, you can disable incoming ICMP requests by changing few parameters in \/etc\/csf\/csf.conf. Find for ICMP_IN &amp; ICMP_IN_RATE. Set them to 0 and restart csf.<\/p>\n<p>4. Using iptables, you can disable incoming ICMP requests with command below<\/p>\n<blockquote><p>iptables \u2013A INPUT \u2013p icmp \u2013icmp-type echo-request \u2013j DROP<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>PING (Packet InterNet Groper) is used to send ICMP (Internet Control Message Protocol) requests to the remote host &amp; wait for an ICMP response. Using this protocol you can check if the remote host is accessible over the network.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[],"class_list":["post-1658","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Disable ICMP Requests On cPanel Server ?<\/title>\n<meta name=\"description\" content=\"Learn how to disable ICMP requests on your cPanel server using this quick and secure method. Protect your server from potential security threats by following our step-by-step guide to prevent ICMP requests and ensure enhanced server safety.\" \/>\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.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Disable ICMP Requests On cPanel Server ?\" \/>\n<meta property=\"og:description\" content=\"Learn how to disable ICMP requests on your cPanel server using this quick and secure method. Protect your server from potential security threats by following our step-by-step guide to prevent ICMP requests and ensure enhanced server safety.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-28T12:58:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-03T07:00:07+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/\",\"name\":\"How To Disable ICMP Requests On cPanel Server ?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2014-07-28T12:58:44+00:00\",\"dateModified\":\"2023-08-03T07:00:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"description\":\"Learn how to disable ICMP requests on your cPanel server using this quick and secure method. Protect your server from potential security threats by following our step-by-step guide to prevent ICMP requests and ensure enhanced server safety.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Disable ICMP Requests On cPanel Server ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"caption\":\"admin\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Disable ICMP Requests On cPanel Server ?","description":"Learn how to disable ICMP requests on your cPanel server using this quick and secure method. Protect your server from potential security threats by following our step-by-step guide to prevent ICMP requests and ensure enhanced server safety.","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.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/","og_locale":"en_GB","og_type":"article","og_title":"How To Disable ICMP Requests On cPanel Server ?","og_description":"Learn how to disable ICMP requests on your cPanel server using this quick and secure method. Protect your server from potential security threats by following our step-by-step guide to prevent ICMP requests and ensure enhanced server safety.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2014-07-28T12:58:44+00:00","article_modified_time":"2023-08-03T07:00:07+00:00","author":"admin","twitter_misc":{"Written by":"admin","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/","name":"How To Disable ICMP Requests On cPanel Server ?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2014-07-28T12:58:44+00:00","dateModified":"2023-08-03T07:00:07+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"description":"Learn how to disable ICMP requests on your cPanel server using this quick and secure method. Protect your server from potential security threats by following our step-by-step guide to prevent ICMP requests and ensure enhanced server safety.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/disable-icmp-requests-cpanel-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How To Disable ICMP Requests On cPanel Server ?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","caption":"admin"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/admin\/"}]}},"views":2194,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1658"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1658\/revisions"}],"predecessor-version":[{"id":14926,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1658\/revisions\/14926"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}