• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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