{"id":565,"date":"2021-07-23T12:33:00","date_gmt":"2021-07-23T12:33:00","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/passive-ftp-and-nat-configuration-temporary-workaround\/"},"modified":"2021-07-23T12:33:00","modified_gmt":"2021-07-23T12:33:00","slug":"passive-ftp-and-nat-configuration-temporary-workaround","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/passive-ftp-and-nat-configuration-temporary-workaround\/","title":{"rendered":"Passive FTP and NAT Configuration Temporary Workaround"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>cPanel &#038; WHM\u2019s implementation of PureFTP and ProFTPD causes an issue on NAT-configured networks on cPanel &#038; WHM version 64 and older. This issue prevents Passive FTP connections to other IP addresses on the server, and connections via domains that resolve to other IP addresses.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        The following workaround is a <strong>temporary<\/strong> fix for NAT-configured servers on cPanel &#038; WHM version <strong>64 and older<\/strong>. The next time you reconfigure the FTP server, the system will automatically re-add the <code>ForcePassiveIP<\/code> or <code>MasqueradeAddress<\/code> settings to the configuration file.\n    <\/div>\n<\/div>\n<h2 id=\"workaround\">Workaround<\/h2>\n<p>In order to work around this limitation, perform the following steps:<\/p>\n<ol>\n<li>Follow the existing procedure in the How to Enable FTP Passive Mode document to configure Passive FTP on a NAT-configured network.<\/li>\n<li>Remove the <code>ForcePassiveIP<\/code> setting from the <code>\/etc\/pure-ftpd.conf<\/code> file or the <code>MasqueradeAddress<\/code> settings from the <code>\/etc\/proftpd.conf<\/code> file.<\/li>\n<li>Restart your FTP server.<\/li>\n<\/ol>\n<p>You should be able to connect to all FTP-enabled domains on the server via a Passive FTP session.<\/p>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n        NAT configurations are commonly associated with secure environments. Because of this, we <strong>strongly<\/strong> recommend that you use cPanel\u2019s <em>Web Disk<\/em> feature (<em>cPanel<\/em> &gt;&gt; <em>Home<\/em> &gt;&gt; <em>Files<\/em> &gt;&gt; <em>Web Disk<\/em>) instead of FTP for file transfers. Unlike FTP, Web Disk encrypts usernames and passwords, and it transfers files over secure connections.\n    <\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview cPanel &#038; WHM\u2019s implementation of PureFTP and ProFTPD causes an issue on NAT-configured networks on cPanel &#038; WHM version 64 and older. This issue prevents Passive FTP connections to other IP addresses on the server, and connections via domains that resolve to other IP addresses. Warning: The following workaround is a temporary fix for &hellip;<\/p>\n","protected":false},"author":1,"featured_media":566,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/565"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=565"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/565\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/566"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}