• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question ftp problem behind firewall

Maxwell Banks

New Pleskian
Hi!

I have a plesk server at centos 7 wiht local ip, because I have a FW with public ip with port forward.
All server work great, except ftp service (proftpd)

If I try access ftp from linux ftp client, the server respond ok, and I can make a dir and recieve all directory, but before to recieve the directory say:

ftp> dir
229 Entering Extended Passive Mode (|||12750|).
150 Opening ASCII mode data connection for file list

Allways from Windows and when at linux put passive command I recieve:

ftp> passive
Passive mode: off; fallback to active mode: off.
ftp> dir
200 EPRT command successful
425 Unable to build data connection: Permission denied

I fix it the problem puting a comment at line
#MasqueradeAddress XX.XX.XX.XX #Public IP
at virtual host section at file

/etc/proftpd.d/50-plesk.conf

... but these file say at header:

#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

Where is the correcte place to change these configuration?

Thanks a lot!

Maxwell.
 
Hi Igor!
I read the below article, but have example to add properties adding a conf file at /etc/proftpd.d/ directory, but I don't add any property. I need remove a existen property at 50-plesk.conf

I have any way to remove the MasqueradeAddress attribute?

Thanks a lot!

Maxwell.
 
Hi Conny Tigerspice,

Do you have configured port forwarding? What port(s) are you have configured? Could you please post your FTP-client's logs?
 
Hello,

I suggest starting with documentation :)
Typically, need to configure a firewall to allow a port range for passive FTP. If you can't resolve an issue, I suggest creating a new forum thread, describe your installation (OS version, Plesk version), provide logs from FTP-client and a text of the error.
 
Thank you for the links, I'll look into them!

I don't think that it is neccessary to create a new post, because basically I have a solution. The FTP is working if I remove MasqueradeAddress from the file /etc/proftpd.d/50-plesk.conf, but as the author wrote: he did not know how to just remove one line from this file.

What I'm doing at the moment is that I created a new file /etc/proftpd.d/nomasquerade.conf and copied the contents of the other file into it without the MasqueradeAddress line. Then I changed the file /etc/proftpd.conf to not include the 50-plesk.conf any more. I'm not sure if this is how it has to be done, but it is working for now...
 
Back
Top