Im having more FTP problems, been trying to fix these for 2-3 days now and hope someone can help. They started when I upgraded my firmware to this current version. Internal Access to the FTP server works great! :) But WAN access fails miserable. :( I dont use WAN access that much, but i "do" need it. I dont keep sensitive files on it. For security I run my FTP server on Port 11111. Im having this problem in Filezilla and in Mozilla and IE and anything else I try. :(
I followed this guide: http://www.dd-wrt.com/wiki/index.php/ProFTPd
This address works: ftp://192.168.1.1:11111
Feedback from Filezilla:
Status: Connecting to 192.168.1.1:11111...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.3c Server (DD-WRT) [76.127.74.252]
Command: USER anonymous
Response: 331 Anonymous login ok, send your complete email address as your password
Command: PASS **************
Response: 230 Anonymous access granted, restrictions apply
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Status: Directory listing successful
But thats only for the internal network. Im useing Dynamic DNS (which is set up and working correctly)
This address does NOT work: ftp://synaptic.dyndns-ip.com:11111/
I get this:
Status: Resolving address of synaptic.dyndns-ip.com
Status: Connecting to 76.127.74.252:11111...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.3c Server (DD-WRT) [76.127.74.252]
Command: USER anonymous
Response: 331 Anonymous login ok, send your complete email address as your password
Command: PASS **************
Response: 230 Anonymous access granted, restrictions apply
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (76,127,74,252,235,39).
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
Not exsactly sure whats going on here....
Here is my GUI configuration: http://img704.imageshack.us/img704/4936/72974308.jpg
Here is my Startup Script:
echo "MasqueradeAddress synaptic.dyndns-ip.com" >> /tmp/proftpd/etc/proftpd.conf
echo "PassivePorts 60000 61000" >> /tmp/proftpd/etc/proftpd.conf
killall -HUP proftpd
Here is my firewall Script:
/usr/sbin/iptables -I INPUT 1 -p tcp --dport 11111 -j logaccept
/usr/sbin/iptables -I INPUT -p tcp -m tcp --dport 60000:61000 --syn -j logaccept
Finally here is my config file once the router is fully rebooted:
ServerName DD-WRT
DefaultAddress 192.168.1.1
ServerType standalone
DefaultServer on
AuthUserFile /tmp/proftpd/etc/passwd
ScoreboardFile /tmp/proftpd/etc/proftpd.scoreboard
Port 11111
Umask 022
MaxInstances 10
User root
Group root
UseReverseDNS off
IdentLookups off
RootLogin on
<Limit SITE_CHMOD>
DenyAll
</Limit>
DelayEngine off
WtmpLog off
DefaultRoot /mnt
<Directory /mnt/*>
AllowOverwrite on
<Limit WRITE>
</Limit>
</Directory>
<Anonymous /mnt/PublicFTP>
User ftp
Group root
UserAlias anonymous ftp
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
</Anonymous>
MasqueradeAddress synaptic.dyndns-ip.com
PassivePorts 60000 61000
If there is any more information you need, just ask. I really need to get this resolved.

RSS

