ProFTPd
From DD-WRT Wiki
by mcpat
Contents |
Requirements
First be sure that you have enough memory free. Because of this I describe the installation on SD-cards (/mmc). Additionally this procedure will show how to install even the needed ipkg packages on the SD-card.
It is also possible to replace every occurances of (/mmc) with (/jffs) if you have it enabled.
Preparation
Install first optware!
Then install xinetd
Then install proftpd
Installing xinetd
Installation of xinetd:
/opt/bin/ipkg install xinetd
Installing proftpd
Installation of proftpd-Server:
/opt/bin/ipkg install proftpd
Config File
For anon login use the following in your vsftpd.conf file. Before you use this realize you will be giving anon login FULL ACCESS
Use vi /mmc/jffs/etc/vsftpd.conf to open file
COMING SOON
If you would like to use root only use the following:
COMING SOON
Start script for proftpd (standalone server)
The following script starts proftpd:
COMING SOON
Don't forget to give the execute privilege (chmod x start).
Start script for proftpd (via xinetd)
The following script starts proftpd:
COMING SOON
Don't forget to give 0644 privilege (chmod 644 proftpd).
Firewall settings
To get the FTP-Server enabled from WAN side add the following line to the firewall section:
/usr/sbin/iptables -I INPUT 1 -p tcp --dport 21 -j logaccept