D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DGL-4100 => Topic started by: darkmantis on May 10, 2010, 07:08:42 PM

Title: Can't connect to FTP server via WAN side..help?
Post by: darkmantis on May 10, 2010, 07:08:42 PM
Gamerlounge 4100
DNS-323 running 1.09 firmware.

Port 21 for ftp.

I am able to connect to the FTP server running on my DNS-323 no problem behind my router on both networks, 192.168.1.xx and 192.168.0.1 (have another wi-fi router which is the 1.x).

As soon as I ftp into my ftp server using my WAN ip address, I can login using my user name and password. It now shows that the server is able to use FXP for transfers. Once I type "dir" or "ls" , I get opening connection 200.. and it just hangs there.

I do have a virtual server connection set for 21 tcp allow all and 20 udp allow all.

I believe this is a port forwarding issue and I was curious if anyone else has had this problem.

I do notice that when i try to initiate a command, it shows my wan ip address connecting to my private lan 192.168.0.x address. This is why I think it's something to do with port forwarding..

Title: Re: Can't connect to FTP server via WAN side..help?
Post by: g-man on May 13, 2010, 01:56:12 PM
Trying to use FTP behind a NAT'd firewall is problematic. FTP was never designed to be used in such a manner and has issues because of it's use of random ports for the actual data transfer. My guess is that's why you're seeing timeouts when you do a "dir".

Here's a website with more information than you probably want to know about ftp and firewalls:

http://www.ncftp.com/ncftpd/doc/misc/ftp_and_firewalls.html (http://www.ncftp.com/ncftpd/doc/misc/ftp_and_firewalls.html)

G.