• February 23, 2025, 08:14:27 AM
  • 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.

Pages: [1] 2

Author Topic: FTP port forwarding problem  (Read 12172 times)

sgip2000

  • Level 2 Member
  • **
  • Posts: 77
FTP port forwarding problem
« on: April 02, 2009, 06:50:16 AM »

I have a DIR-825 with a DNS-323 NAS connected to it and am unable to access the FTP server on the DNS-323 remotely while connected to the DIR-825.  I am able to access the FTP server when using 2 other routers though.

I have public port 21 being forwarded to private port 21 on the DNS-323 on all routers.

Anyone have any suggestions?

Thanks.
Logged

arod

  • Guest
Re: FTP port forwarding problem
« Reply #1 on: April 02, 2009, 08:45:07 AM »

Disable the Port Forwarding rule you created and apply it in Virutal Server.
Logged

sgip2000

  • Level 2 Member
  • **
  • Posts: 77
Re: FTP port forwarding problem
« Reply #2 on: April 02, 2009, 09:19:08 AM »

Disable the Port Forwarding rule you created and apply it in Virutal Server.

I've tried it both ways.
Logged

smlunatick

  • Level 5 Member
  • *****
  • Posts: 625
Re: FTP port forwarding problem
« Reply #3 on: April 02, 2009, 11:30:57 AM »

I believe that FTP may also require port 20.
« Last Edit: April 02, 2009, 01:38:36 PM by smlunatick »
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: FTP port forwarding problem
« Reply #4 on: April 02, 2009, 01:34:21 PM »

Is it passive or active FTP?
Logged

sgip2000

  • Level 2 Member
  • **
  • Posts: 77
Re: FTP port forwarding problem
« Reply #5 on: April 02, 2009, 02:09:07 PM »

Is it passive or active FTP?

I've tried it both ways.  Neither work.
Logged

sgip2000

  • Level 2 Member
  • **
  • Posts: 77
Re: FTP port forwarding problem
« Reply #6 on: April 02, 2009, 02:10:29 PM »

I believe that FTP may also require port 20.

I believe this is the problem.  Unfortunately, the DIR-825 only has the option to forward port 21.
Logged

smlunatick

  • Level 5 Member
  • *****
  • Posts: 625
Re: FTP port forwarding problem
« Reply #7 on: April 03, 2009, 08:20:57 AM »

I looked on at he emulator and you should be able to forward more than one port.

Instead of 21  you should be able to use 20-21 or 20, 21
Logged

sgip2000

  • Level 2 Member
  • **
  • Posts: 77
Re: FTP port forwarding problem
« Reply #8 on: April 03, 2009, 08:42:53 AM »

I looked on at he emulator and you should be able to forward more than one port.

Instead of 21  you should be able to use 20-21 or 20, 21

Yeah, I tried forwarding 20 and 21 to 21 on the DNS-323.  Same result.  Quite baffling.
Logged

smlunatick

  • Level 5 Member
  • *****
  • Posts: 625
Re: FTP port forwarding problem
« Reply #9 on: April 03, 2009, 08:49:56 AM »

Port forwarding is to forward to ports to the same ports at the "destination"

Therefore you seem to need to Port Forward 20 / 21 to 20 / 21.   Change the forward rule to have both 20 / 21 in the TCP and UDP.    I was able to do this on previous D-Link routers.

It seems that the method you have used "might" be used as Port Trigger.

Logged

sgip2000

  • Level 2 Member
  • **
  • Posts: 77
Re: FTP port forwarding problem
« Reply #10 on: April 03, 2009, 08:54:07 AM »

Port forwarding is to forward to ports to the same ports at the "destination"

Therefore you seem to need to Port Forward 20 / 21 to 20 / 21.   Change the forward rule to have both 20 / 21 in the TCP and UDP.    I was able to do this on previous D-Link routers.

It seems that the method you have used "might" be used as Port Trigger.



Thanks for the suggestion.  Unfortunately, I have already tried that and it is not working either.

I'm actually getting the following errors when attempting to connect:

[08:44:26] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
[08:44:26] Client closed the connection.
Logged

smlunatick

  • Level 5 Member
  • *****
  • Posts: 625
Re: FTP port forwarding problem
« Reply #11 on: April 03, 2009, 01:13:01 PM »

You can:

Try setting a DMZ port to the FTP server

OR

Tweak around the    Application Level Gateway (ALG) Configuration
Logged

sgip2000

  • Level 2 Member
  • **
  • Posts: 77
Re: FTP port forwarding problem
« Reply #12 on: April 03, 2009, 01:40:36 PM »

You can:

Try setting a DMZ port to the FTP server

OR

Tweak around the    Application Level Gateway (ALG) Configuration

Tried setting setting DMZ for the FTP server.  Haven't tried any ALG changes though.
Logged

combe

  • Level 1 Member
  • *
  • Posts: 1
Re: FTP port forwarding problem
« Reply #13 on: May 19, 2009, 10:12:08 PM »

I'm having this exact same problem accessing my NAS ftp (a readynas duo); it worked perfectly using both port-forwarding and virtual server forwarding under my old DGL-4500, but I'm having a heck of a time trying to get it to work with my new DIR-825.  I've DMZ'ed my NAS, used both portforwarding (with both 20 and 21) and virtual server, and so forth.  Nothing seems to be working.  Any help on this would greatly be appreciated.
Logged

arod

  • Guest
Re: FTP port forwarding problem
« Reply #14 on: May 20, 2009, 10:09:17 AM »

Try disabling SPI and set NAT Endpoint Independent for both TCP and UDP. Are you running any local AV's or firewalls?
Logged
Pages: [1] 2