Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have recently installed DD-WRT on my D-Link DIR-615 router. Everything seems fine but I cannot connect to some FTP servers (web hosting) anymore. Any ideas what can cause this issue?

share|improve this question
    
Welcome to StackExchange. Here is a little tip. Just by reading the about page at the link near the search bar at the top, you get a badge. –  Devyn Collier Johnson Jul 9 '13 at 12:45
add comment

2 Answers

I wonder if you're experiencing an issue with passive mode and these sites. As I understand it the ftp site makes a connection back to you, perhaps dd-wrt's firewall is blocking these back connections to your ftp client upon connecting?

If you run the command netstat -an on your dd-wrt box you'll likely see TCP connections waiting.

share|improve this answer
    
I have disabled the SPI Firewall but the problem still occurs. I don't have much experience with DD-WRT but I suppose I'd have to connect through SSH to run that command, right? –  Andrei Jul 9 '13 at 17:22
    
I run the command through web interface and I've got the following (one of the many similar lines, just the port seems different): tcp 0 0 router_ip:80 local_ip:51773 TIME_WAIT –  Andrei Jul 9 '13 at 17:31
    
@Andrei - try to ftp to one of the sites that wasn't working and then run that command. See if the IP address of the ftp site shows up with a TIME_WAIT. –  slm Jul 9 '13 at 17:32
    
I'm seeing just the internal IP's here unfortunately. –  Andrei Jul 9 '13 at 17:34
    
It's not really relevant what the websites are I think. One of them is hosted at MediaTemple and everything worked fine until yesterday when I installed DD-WRT. –  Andrei Jul 9 '13 at 17:44
show 6 more comments

I've discovered something interesting.

I've set up a port range forwarding 1024-65535 | Both | 192.168.1.131 (my local ip)

Just for the testing purposes, I know it's not a good idea at all. After that I have Enabled or Disabled (it doesn't really matters it seems) the UPnP service. Well, after doing that it let me connect to FTP but just for a few seconds.

Can anyone explain what is going on?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.