Setting up my PC as an FTP behind a ADSL Router Firewall

Posted on 2006-05-09
Last Modified: 2013-11-29
I have a Netgear DG834G adsl router.
I would like to set my PC up as an FTP server to allow certain files to be accessible over the internet.

What FTP software do i need?
- what settings do i use with this software? - what exact steps do i need to follow?

what settings need to be changed on the ADSL router - what exact steps do i need to follow?

say my external IP address (i.e the IP of the router) is (these are random numbers by the way!)
and the internal IP address of my computer is

with all this set up on my pc, would the person wishing to access these files simply type in their IE browser?

Question by:welsher
    LVL 42

    Accepted Solution

    you do not need software to set up your computer as an FTP server, if you have XP.  the tools are there, you just have to enable/install them.  First, you need to install IIS.  then enable FTP
    install iis on xp pro:
    install iis on xp home:
    set up ftp:

    you will need to set up a port in your firewall/router to forward to your computer.  i don't know the standard port for FTP... easy enough to look up.  so let's call the standard port, portX.  you will need to configure your router/firewall to forward FTP service on portX to

    to make things easier, it would be nice for you to have a static IP from your ISP.  otherwise, you will constantly have to check your external IP to see what it is so you can access your FTP server.
    you should also set your computer's IP to a static IP so that it doesn't change.

    people will be able to access your FTP by the method you show above (they may have to specify the port... )
    LVL 42

    Expert Comment

    the standard port for ftp is 21.  the service is TCP.

    depending on your router/firewall, you may only have to tell it to forward port 21 with FTP.  in some routers, you actually have to specify the service type (so you would specify port 21 runs TCP service, and then forward port 21 to

    Author Comment

    thanks for your reply, i'll give that a go and get back to you

    Author Comment

    should i really be messing about with this ISS stuff? i'm on XP home.

    I've got an evaluation copy of WS FTP server manager, i'm just not sure what settings to change etc?

    Assisted Solution

    Since you have ADSL your routeris more than likely getting dynamic IP (public) addresses from your ISP.  You can use dynamic DNS to get around this (see this will install a client on your workstation that will tell the dynds servers what your dynamic IP address is so people on the internet can get to your computer.

    You can have your router forward TCP ports 21 (and 20 in some cases) to your internal workstation address (192.168.x.x)

    Any traffic that his your dynamic dns address ie on port 21 (ftp traffic) will be forwarded to the workstation you chose.  

    As far as the FTP program.  I have used the IPswitch application (ws ftp) as well as IIS, I have found the WSFTP server to be easier and more robust, althought is not free like the Built in Windows IIS server.  

    Author Comment

    its the thing im not sure of when it comes to the we ftp software?

    first of all it asks me for the name for my host in the format of

    would mine be ?????? (with being the dynamic ip for the router?)

    then it asks me for an IP address for the host??

    i think ive got the port forwarding correct on the firewall, just allow traffic on ports 21 and 20 for FTP.
    i have it forwarding to i.e my staic IP.

    i dont mind that its dynamic i can always change the settigns.
    LVL 18

    Assisted Solution

    fyi using iis or other basic tools you will not get the basic FTP server to run properly behind a NAT firewall.  It will work ok if you can turn off NAT.

    this diagram will not work:

    you---> NAT firewall ---> internet ---> client's NAT firewall ---> FTP client
                with ports 20/21

    this will work:
    you---> NAT firewall ---> internet ---> client's NAT firewall ---> FTP client
                with ports 20/21
                forwarded, ports
                10000-10200 forwarded

    if you use a good ftp server which allows "specify PASV ports" = 10000-10200 then you will get sucess.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Hi All,  Recently I have installed and configured a Sonicwall NS220 in the network as a firewall and Internet access gateway. All was working fine until users started reporting that they cannot use the Cisco VPN client to connect to the customer'…
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now