I am thoroughly confused on how your suggestion would help anything. In my vsftpd.conf, if I have
Code:
pasv_address=name.dyndns.org
pasv_enable=YES
pasv_min_port=some_high_port
pasv_max_port=some_higher_port
where the high ports are appropriately forwarded in my router, then connecting to myself or from a computer over the internet results in
Code:
PASV
500 OOPS: invalid pasv_address
from the FTP client. It is my understanding that pasv_address needs to be set to your
external IP address in order for passive connections to work properly. Setting to my private LAN IP does not work when connecting from outside the LAN, unless with a smart client (like WS_FTP) that ignores the private passive address and uses the server IP instead. The output would look something along the lines of
Code:
PASV
227 Entering Passive Mode (192,168,X,X,27,15)
connecting data channel to 192.168.X.X:27,15(6927)
Substituting connection address X.X.X.X for private address 192.168.X.X from PASV
data channel connected to X.X.X.X:27,15(6927)
I know that if I set pasv_address to my actual external IP rather than my dyndns name, everything works as it should. The problem here is that I can't keep changing my vsftpd.conf file manually every time my IP changes.