{"id":319,"date":"2011-12-01T15:39:07","date_gmt":"2011-12-01T15:39:07","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2011\/12\/01\/add-ip-to-firewall\/"},"modified":"2025-02-14T18:50:11","modified_gmt":"2025-02-14T23:50:11","slug":"add-ip-to-firewall","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/","title":{"rendered":"How to allow your IP Address in the CSF Firewall (for SSH access)"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-1024x538.png\" alt=\"featured image with text allow an ip address in the csf firewall in whm\" class=\"wp-image-129354\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>For security reasons, <strong>SSH access<\/strong> to your <abbr title=\"Virtual Private Server\">VPS<\/abbr> is blocked at the firewall level. Before you can connect to your account via SSH, you will need to <strong>add your local IP address<\/strong> to the <strong>firewall<\/strong>. This guide will show you how to add your IP Address to the Firewall for SSH access.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">AllowYour IP Address in the Firewall in WHM<\/h2>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"\/support\/edu\/whm\/log-into-whm\/\" target=\"_blank\" rel=\"noopener noreferrer\">Log into your WHM<\/a>.<\/li>\n\n\n\n<li>Click the <strong>ConfigServer Security &amp; Firewall<\/strong> option in the left menu, in the <strong>Plugins<\/strong> section.<span style=\"font-size: revert; color: initial;\"> <\/span>You can quickly locate it by searching for \u201cfirewall\u201d in the search field.<\/li>\n\n\n\n<li>Navigate to the <strong>csf<\/strong> tab.<\/li>\n\n\n\n<li>Enter the IP address into the <strong>Quick Allow<\/strong> tool.<\/li>\n\n\n\n<li>Optionally, you can automatically fill your <strong>current IP address<\/strong> by clicking the cog icon<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"600\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/whm-csf-firewall-1024x600.png\" alt=\"screenshot showing the term firewall in the search field of WHM with ConfigServer Security &amp; Firewall highlighted and an IP address being entered into the quick allow field using the cog icon\" class=\"wp-image-129353\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/whm-csf-firewall-1024x600.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/whm-csf-firewall-300x176.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/whm-csf-firewall-768x450.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/whm-csf-firewall.png 1262w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><\/p><div class=\"alert alert-warning\" role=\"alert\"><strong>Please Note:<\/strong> If your IP address does not stay the same each time you connect to the internet, you can add a range of IP addresses so that you do not need to add your new IP address each time it changes. We are unable to advise you with what your IP range is, however, your Internet Service Provider should be able to assist you further. You will need to use CIDR formatting when adding a range of IP addresses. Please see the \u201c<em>Information on CIDR Formats<\/em>\u201d and \u201c<em>IP to CIDR Converter<\/em>\u201d links in the \u201c<em>Add IP to Firewall<\/em>\u201d page in WHM for further assistance.<\/div>\n\n\n\n<p>Congratulations, now you know how to add your IP Address to the Firewall for SSH access. Check out our section on<a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/\"> SSH and root access<\/a> to learn more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For security reasons, SSH access to your VPS is blocked at the firewall level. Before you can connect to your account via SSH, you will need to add your local IP address to the firewall. This guide will show you how to add your IP Address to the Firewall for SSH access. AllowYour IP Address<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4288],"tags":[],"class_list":["post-319","post","type-post","status-publish","format-standard","hentry","category-website"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to allow your IP Address in the CSF Firewall (for SSH access) | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this tutorial, we&#039;ll show you how you can add your IP address to the firewall to allow ssh access\" \/>\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.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to allow your IP Address in the CSF Firewall (for SSH access) | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we&#039;ll show you how you can add your IP address to the firewall to allow ssh access\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-12-01T15:39:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-14T23:50:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-1024x538.png\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\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.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"How to allow your IP Address in the CSF Firewall (for SSH access)\",\"datePublished\":\"2011-12-01T15:39:07+00:00\",\"dateModified\":\"2025-02-14T23:50:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/\"},\"wordCount\":266,\"commentCount\":29,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-1024x538.png\",\"articleSection\":[\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/\",\"name\":\"How to allow your IP Address in the CSF Firewall (for SSH access) | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-1024x538.png\",\"datePublished\":\"2011-12-01T15:39:07+00:00\",\"dateModified\":\"2025-02-14T23:50:11+00:00\",\"description\":\"In this tutorial, we'll show you how you can add your IP address to the firewall to allow ssh access\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured.png\",\"width\":1200,\"height\":630,\"caption\":\"featured image with text allow an ip address in the csf firewall in whm\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to allow your IP Address in the CSF Firewall (for SSH access)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to allow your IP Address in the CSF Firewall (for SSH access) | InMotion Hosting","description":"In this tutorial, we'll show you how you can add your IP address to the firewall to allow ssh access","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.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/","og_locale":"en_US","og_type":"article","og_title":"How to allow your IP Address in the CSF Firewall (for SSH access) | InMotion Hosting","og_description":"In this tutorial, we'll show you how you can add your IP address to the firewall to allow ssh access","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2011-12-01T15:39:07+00:00","article_modified_time":"2025-02-14T23:50:11+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-1024x538.png","type":"","width":"","height":""}],"author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"How to allow your IP Address in the CSF Firewall (for SSH access)","datePublished":"2011-12-01T15:39:07+00:00","dateModified":"2025-02-14T23:50:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/"},"wordCount":266,"commentCount":29,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-1024x538.png","articleSection":["Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/","name":"How to allow your IP Address in the CSF Firewall (for SSH access) | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured-1024x538.png","datePublished":"2011-12-01T15:39:07+00:00","dateModified":"2025-02-14T23:50:11+00:00","description":"In this tutorial, we'll show you how you can add your IP address to the firewall to allow ssh access","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/12\/allow-ip-address-featured.png","width":1200,"height":630,"caption":"featured image with text allow an ip address in the csf firewall in whm"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to allow your IP Address in the CSF Firewall (for SSH access)"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4288,"name":"Website","slug":"website","link":"https:\/\/www.inmotionhosting.com\/support\/website\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":8,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"predecessor-version":[{"id":129356,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/319\/revisions\/129356"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}