• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question How to remove ProFTP default setting - update stable?

Bonsai78

Basic Pleskian
Hi,

I need to access my proftp from an internal IP (Same subnet as Plesk) AND from WAN behind NAT

Both is working, If I comment out the "MasqueradeAddress" line from /etc/proftp.d/50-plesk.conf
Filezilla over WAN is then shouting about the not routable address, but falls back to the WAN IP.

I wanted to have something that really works, like this:

Code:
  <IfModule mod_ifsession.c>
   # Define a class for internal clients
   <Class internal>
     From 10.0.0.0/8
   </Class>

   # All other clients get public MasqueradeAddress
   <IfClass !internal>
     MasqueradeAddress 1.2.3.4
   </IfClass>
  </IfModule>

What is the proper way to tell Plesk to not add the MasqueradeAddress?

I already tried a zzzz.conf which sets the MasqueradeAddress to the LAN IP, but this did not work. I guess ProFTP accepts this value only once
 
Back
Top