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:
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
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