{"id":996,"date":"2021-07-16T06:10:53","date_gmt":"2021-07-16T11:10:53","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=996"},"modified":"2021-09-20T21:48:11","modified_gmt":"2021-09-21T02:48:11","slug":"how-to-allow-an-ip-to-access-a-closed-port","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/","title":{"rendered":"How To Allow An IP to Access A Closed Port"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #212121;color:#212121\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #212121;color:#212121\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/#create_single-port_csf_rule_via_whm\" >Create single-port CSF rule via WHM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/#create_single-port_csf_rule_via_ssh\" >Create single-port CSF rule via SSH<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>In a firewall sometimes you only want to allow an IP through on a certain port without fully whitelisting them. To do so in CSF is pretty straight forward and the concept is the same as on many home routers. This tutorial will show you how to do it both via WHM&#8217;s CSF&nbsp;GUI&nbsp;and via command line.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"create_single-port_csf_rule_via_whm\"><\/span>Create single-port CSF rule via WHM<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>  * Login to WHM and navigate to the \"ConfigServer Security &amp; Firewall\" page.  This is generally at the very bottom under the \"Plugins\" category.<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"223\" height=\"214\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-link.png\" alt=\"\" class=\"wp-image-997\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>On this page, press the &#8220;Firewall Allow IPs&#8221; button. It&#8217;s about mid-way down the page.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-main-page-1024x753.png\" alt=\"\" class=\"wp-image-998\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-main-page-1024x753.png 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-main-page-300x221.png 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-main-page-768x564.png 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-main-page.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>On this page you&#8217;ll see a list of IPs that you&#8217;ve whitelisted unless you&#8217;ve previously otherwise modified this page. The top section where each line is preceeded by a&nbsp;<code>#<\/code>&nbsp;symbol is not read by the system and is helpful tips. It should look similar to the following:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>   ###############################################################################\n   # Copyright 2006-2013, Way to the Web Limited\n   # URL: http:\/\/www.configserver.com\n   # Email: sales@waytotheweb.com\n   ###############################################################################\n   # The following IP addresses will be allowed through iptables.\n   # One IP address per line.\n   # CIDR addressing allowed with a quaded IP (e.g. 192.168.254.0\/24).\n   # Only list IP addresses, not domain names (they will be ignored)\n   #\n   # Advanced port+ip filtering allowed with the following format\n   # tcp\/udp|in\/out|s\/d=port|s\/d=ip\n   # See readme.txt for more information\n   #\n   # Note: IP addressess listed in this file will NOT be ignored by lfd, so they\n   # can still be blocked. If you do not want lfd to block an IP address you must\n   # add it to csf.ignore\n   ################################################################################<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>From this we can see that the format we will be using is&nbsp;<code>tcp\/udp|in\/out|s\/d=port|s\/d=ip<\/code><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Create your desired rule. For example if we want to create a rule to allow inbound MySQL connections from IP 67.222.0.1 it would look like this<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  tcp|in|d=3306|s=67.222.0.1<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Lets look at what we&#8217;ve defined above:<ul><li><strong>tcp<\/strong>&nbsp;defines the protocol we&#8217;re using. MySQL uses TCP sockets.<\/li><li><strong>in<\/strong>&nbsp;defines that this rule pertains to inbound traffic or traffic coming into your system from an external one.<\/li><li><strong>d=3306<\/strong>&nbsp;is the port number which MySQL uses by default.<\/li><li><strong>s=67.222.0.1<\/strong>&nbsp;is the IP address we want to allow into our system on the port and protocol specified above.<\/li><\/ul><\/li><\/ul>\n\n\n\n<div class=\"kb__important-box\">\n<img decoding=\"async\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/important.png\" alt=\"important\">\n<div>\n<p>IP ranges in CIDR format are accepted. Port ranges are not accepted and you must have one rule per line per port per protocol.<\/p>\n<\/div>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>In order to apply this rule, on the next page click &#8220;Restart csf+lfd&#8221;.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"639\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/restart-csf-lfd-1024x639.png\" alt=\"\" class=\"wp-image-999\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/restart-csf-lfd-1024x639.png 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/restart-csf-lfd-300x187.png 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/restart-csf-lfd-768x479.png 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/restart-csf-lfd.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"create_single-port_csf_rule_via_ssh\"><\/span>Create single-port CSF rule via SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Login to SSH.<\/li><li>Open \/etc\/csf\/csf.allow in your preferred text editor. For the sake of this tutorial I&#8217;ll be using&nbsp;<code>nano<\/code>.<\/li><li>Add your rules to this file, one per line.<ul><li>We&#8217;ll be adding lines in the same format as above,&nbsp;<code>tcp\/udp|in\/out|s\/d=port|s\/d=ip<\/code>.<\/li><\/ul><\/li><li>Save the file. If you&#8217;re in nano, use ^X (Ctrl+X) and tell it &#8220;Y&#8221; to overwrite the file.<\/li><li>Restart CSF using&nbsp;<code>csf -r<\/code>.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In a firewall sometimes you only want to allow an IP through on a certain port without fully whitelisting them. To do so in CSF is pretty straight forward and the concept is the same as on many home routers. This tutorial will show you how to do it both via WHM&#8217;s CSF&nbsp;GUI&nbsp;and via command [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[177,109,126,143,230,123,125],"class_list":["post-996","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-cloud","tag-cpanel","tag-csf","tag-dedicated","tag-firewall","tag-linux","tag-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Allow An IP to Access A Closed Port - KnownHost<\/title>\n<meta name=\"description\" content=\"Need to allow access for specific IP address? In this guide we will show you how to manage IP addresses on your KnownHost server.\" \/>\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.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Allow An IP to Access A Closed Port - KnownHost\" \/>\n<meta property=\"og:description\" content=\"Need to allow access for specific IP address? In this guide we will show you how to manage IP addresses on your KnownHost server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-16T11:10:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-21T02:48:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-link.png\" \/>\n<meta name=\"author\" content=\"Jonathan K. W.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan K. W.\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/\"},\"author\":{\"name\":\"Jonathan K. W.\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"headline\":\"How To Allow An IP to Access A Closed Port\",\"datePublished\":\"2021-07-16T11:10:53+00:00\",\"dateModified\":\"2021-09-21T02:48:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/\"},\"wordCount\":358,\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/whm-csf-link.png\",\"keywords\":[\"cloud\",\"cpanel\",\"csf\",\"dedicated\",\"firewall\",\"linux\",\"vps\"],\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/\",\"name\":\"How To Allow An IP to Access A Closed Port - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/whm-csf-link.png\",\"datePublished\":\"2021-07-16T11:10:53+00:00\",\"dateModified\":\"2021-09-21T02:48:11+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"description\":\"Need to allow access for specific IP address? In this guide we will show you how to manage IP addresses on your KnownHost server.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/whm-csf-link.png\",\"contentUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/whm-csf-link.png\",\"width\":223,\"height\":214},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-allow-an-ip-to-access-a-closed-port\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Allow An IP to Access A Closed Port\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\",\"name\":\"Jonathan K. W.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"caption\":\"Jonathan K. W.\"},\"sameAs\":[\"https:\\\/\\\/www.knownhost.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Allow An IP to Access A Closed Port - KnownHost","description":"Need to allow access for specific IP address? In this guide we will show you how to manage IP addresses on your KnownHost server.","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.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/","og_locale":"en_US","og_type":"article","og_title":"How To Allow An IP to Access A Closed Port - KnownHost","og_description":"Need to allow access for specific IP address? In this guide we will show you how to manage IP addresses on your KnownHost server.","og_url":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/","og_site_name":"KnownHost","article_published_time":"2021-07-16T11:10:53+00:00","article_modified_time":"2021-09-21T02:48:11+00:00","og_image":[{"url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-link.png","type":"","width":"","height":""}],"author":"Jonathan K. W.","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jonathan K. W.","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/"},"author":{"name":"Jonathan K. W.","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"headline":"How To Allow An IP to Access A Closed Port","datePublished":"2021-07-16T11:10:53+00:00","dateModified":"2021-09-21T02:48:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/"},"wordCount":358,"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-link.png","keywords":["cloud","cpanel","csf","dedicated","firewall","linux","vps"],"articleSection":["cPanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/","url":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/","name":"How To Allow An IP to Access A Closed Port - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/#primaryimage"},"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-link.png","datePublished":"2021-07-16T11:10:53+00:00","dateModified":"2021-09-21T02:48:11+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"description":"Need to allow access for specific IP address? In this guide we will show you how to manage IP addresses on your KnownHost server.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/#primaryimage","url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-link.png","contentUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/whm-csf-link.png","width":223,"height":214},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/how-to-allow-an-ip-to-access-a-closed-port\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How To Allow An IP to Access A Closed Port"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b","name":"Jonathan K. W.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","caption":"Jonathan K. W."},"sameAs":["https:\/\/www.knownhost.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=996"}],"version-history":[{"count":0,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/996\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}