I've had Pure-Ftpd running for a few months now on Debian using the Virtual users tutorial here at Howto Forge and it's been quite nice. Just recently I added IPCop to my network and now I intend to turn it from a local FTP server to one available on the internet. Except my ISP has a restriction against any kind of server so port 21 and 20 are probably blocked. Is it possible to change the port to something like 9000 using the method as creating a new file with the number or range in it like chrooteveryone with yes? ^ under /etc/pure-ftpd/conf/ If not how would I go about adding these extra options to the startup for pure-ftpd without having to use ./configure? I followed this http://www.howtoforge.com/pureftpd_mysql_virtual_hosting step by step so I'd like to know how to add extra options without altering what I've done in that how-to. The reason I am asking is because since this is going to be an FTP server available in the DMZ I'd like to know that what I am doing isn't going to mess up any security settings or cause the server to be full of holes because I didn't know what I was doing. For instance on the documentation for pureftp-d it says the following: "Now, if you want to listen for an incoming connection on a non-standard port, just append '-S' and the port number: /usr/local/sbin/pure-ftpd -S 42" I've tried to modify the file pure-ftpd-mysql with the options I want but it always fails somehow and I still dont know if that's the file I should be modifying.
Run Code: echo '42' > /etc/pure-ftpd/conf/Bind and restart PureFTPd, and it should then listen on port 42.