Has anyone been able to configure proftpd to work with passive mode and a dynamic IP?
When I ran Slackware before I had a simple script that got my current IP and then updated the conf file for the FTP daemon and then would bounce the FTP daemon if there was a change.
It looks like ProFTPd can do the same thing, but perhaps a bit cleaner, but I am not sure how it will work with the template system of SME.
Here is what I found so far:
It looks like I could use the MasqueradeAddress directive to have the server look up my IP upon startup. I little info about this directive is here:
http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.htmlI also found this module that can be used to update the IP address that the DNS name points to. The module name is mod_dynmasq. Here is some info about it:
http://www.castaglia.org/proftpd/modules/mod_dynmasq.htmlFrom looking over the template system a very little bit, it looks like all of the directives for proftpd are stored in individual files, so I am not at all sure that the mod_dynmasq module would work in this case.
I am hoping that someone has either tackled this issue already, although I could find nothing in the forums, or could maybe look in to my possible solution to see if it is feasible or not.
This may even be a question for the developers, I'm not sure.
Thanks for any help you can provide.