Problem with FTP, WRT54G & NAS Synology DS-101

Discussion in 'Cisco/Linksys Wireless Routers' started by raikko, Jun 25, 2005.

  1. raikko

    raikko Network Guru Member

    Hi all,

    I recently bought a small server/NAS : the Synology DS-101 ( This is really great for such a price, by the way...

    This NAS has a FTP service function : once the service is activated, you can access all the files from the Internet.

    I have opened a DynDNS account and activated the DynDNS functionality in my WRT54G router (v.2, official firmware up-to-date).

    The problem is that when I want to access my FTP from a browser, the browser asks me for a username/password and brings me to the WRT54G configuration page. I have tried two methods : the DynDNS name and the IP, no success at all.

    If I try to connect to my FTp via SmartFTp with the DynDNS name, here's what I get :

    "SmartFTP v1.5.988.25
    Résolution du nom d'hôte ""
    Connexion à Port: 21
    Aucune connexion n'a pu être établie car l'ordinateur cible l'a expressément refusée.
    La client a fermé la connexion."

    Basically, the connection is refused. However, the IP is the right one, so it seems that the communication between the router and DynDNS is OK.

    What should I do ?

    Thanks !
  2. zyclone

    zyclone Network Guru Member

    did you forward port 21 on your router (wrt54g) , to the right local iP ?

    and you certainly need to set your ftp : 'port binding' to the right ip

    check for a config/setup file on your NAS.

    Host = (better to use the resolved iP)
    Ports = 5000-5999 (Ports to use for data transfers)
    Bind = (connections are bound to this address instead of your HOST)

    all ftpd are using that kind of options, even the names differs from 1 software to another.
    that's needed for the server to be able to accept connections from a host , and to redirect/send the datas to the right place.

    I dunno your NAS, but I hope this can helps you.
  3. zyclone

    zyclone Network Guru Member


    if you try to connect via a www browser , like iexplorer , you 'll need to specify you wanna use ftp protocol.
    in iexplorer address bar, type :
    will use default ftp port aka 21
    if you use another port

    if you just type : '' , iexplorer will understand http protocol via port 80.

  4. raikko

    raikko Network Guru Member

    Thanks for your help !

    Well... as my profile says it, I'm a network newbie... How can forward port 21 to my NAS on my router ? On which page is it located ? Is it on the page applications & gaming ? If yes, I can only see UDP and TCP? not FTP...
  5. zyclone

    zyclone Network Guru Member

    i assume you are using a WRT54G as router.
    default iP of the wrt is

    - login to your router (, enter your admin password

    - go to the 'APPLICATION & GAMING' page on your router (

    - 'Port Range Forward' is the page that interest us

    you'll see some blank fields.

    - under Application, add : 'ftp' (that's just the app name)
    - start : 21
    - end : 21
    - protocol : TCP (for all your internet apps , like ftp , torrent and other p2p, you will have to choose between tcp & udp)
    - IP Address : the address of your NAS , its local iP , such as
    - Enable : must be switched on
    - hit the save button

    that's all

    ps :
    . tcp & udp are transport layer protocols, they both use iP as network layer.
    . FTP file transfer use TCP.
    . TCP is more secure that UDP & iP ( i'm really not an expert , i can't tell you more about it)
  6. raikko

    raikko Network Guru Member


    It works !

    Actually, I did only one thing : the port forwarding. I can now access the NAS from outside. BY the way, I have forwarded the port 21 to the NAS IP, with both TCP and UDP. Should I keep the settings as they are, or put only UDP or TCP ?

    EDIT : oops, you've just answered to my questions !!!

    Thanks VERY much.
  7. zyclone

    zyclone Network Guru Member

    i'm pleased to be helpful

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice