• April 19, 2024, 02:44:34 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Can't connect to FTP server via WAN side..help?  (Read 7345 times)

darkmantis

  • Level 1 Member
  • *
  • Posts: 20
Can't connect to FTP server via WAN side..help?
« 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..

Logged

g-man

  • Level 1 Member
  • *
  • Posts: 3
Re: Can't connect to FTP server via WAN side..help?
« Reply #1 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

G.
Logged