home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Networking and Internet
Ask a Tech Support Question (free)!

How to set up an FTP Server behind a Netgear RT314 Router with a Dynamic IP address

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1793
Discussions: 200,510, Posts: 2,374,413, Members: 245,833
Old January 3rd, 2003, 03:04 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Sep 2002
Location: Woodstock, GA
Posts: 338
How to set up an FTP Server behind a Netgear RT314 Router with a Dynamic IP address

Since I had done a lot of reading and browsing other forums to set up my FTP Server to work behind my router, I thought
I would compile the information here for someone else to use and save them a lot of time and headache

*And if the Mods like this walkthru maybe they will sticky it or make a new forum for a walkthru like this*

Here are is what I am running:

Windows 2000 Professional SP3 (FAT32)
Serv-U FTP Server 4.1
and my Router is a Netgear RT314 running Firmware v3.25

Serv-U

After downloading and installing Serv-U FTP Server it should start the FTP setup wizard to guide you thru the initial setup. Here are the questions the setup wizard will ask you:

1. Press “next” to proceed or “cancel” to skip the setup wizard
Answer: Click next to begin.

2. Enable small images with the menu items?
Answer: I chose yes (up to you)

3. Press “next” to start the Local FTP server and connect to it
Answer: click next

4. IP address [leave blank for dynamic or unknown IP]
Answer: I left this blank as I have a Dynamic IP Address




5. Domain name
Answer: Enter the domain name you want. Mine is rkeener.homeftp.net - I will explain why I chose this Domain Name later under the section for people with Dynamic IP addresses.

6. Install as a system service?
Answer: Your choice

7. Allow anonymous access?
Answer: Again your choice I did not allow it as this Server is only setup for my friends and me

8. Create named account?
Answer: Yes I would create an account for myself ex. rkeener

9. Account login name:
Answer: Enter a login name you want for the account

10. Password
Answer: Enter a password you want for the account.

11. Home directory
Answer: This answer is all dependent on where you will place your files for downloading.

12. Lock the user in to the home directory?
Answer: Your choice

13. Account admin privilege
Answer: Your choice

14. Press “finish” to proceed or “previous” to make changes.
Answer: Press finish.

Woohoo! You are done with the initial setup


The next step involves setting up the ports for the Server to use.

By default the Server has chosen port 21 for its FTP port number. *Note: You must forward this port to your FTP Server. See Port Forwarding under the Router section.

**Note: You will not be able to connect to your FTP Server from within your LAN using the DNS name.

*Reason: The Netgear RT314 router has a built in FTP Server so any incoming FTP requests on port 21 will be directed to your
router and not your FTP server.


Under the settings for whatever.younamedyourserver.net choose the advanced tab. Now check the box that says "Allow passive mode
data transfers, use IP" and enter your WAN IP address in the field as shown below:


Under settings for <<Local Server>> choose the advanced tab and for "PASV port range" enter 2000-2010 as shown below:

You will also want to forward these ports as well to your FTP Server.


Assigning your FTP Server a Static IP address

To assign a static IP address to your FTP Server you need to right click “My Network Places” and choose “Properties”. This will open the “Network and Dial-up Connections” window. Right click “Local Area Connection” and choose “Properties”. This will open the “Local Area Connection Properties” window choose “Internet Protocol (TCP/IP)” and click the properties button. Check the radio button “Use the following IP Address” and enter an IP address that is not in use. If you are going to run the DHCP server on the router I suggest using something like 192.168.0.100 as this is not within the DHCP pool so you should not have any conflicts. If you are going to disable the DHCP server in your router you can assign your machine any IP address between 192.168.0.2 and 192.168.0.254

The Subnet mask will be 255.255.255.0
The Default gateway will be 192.168.0.1
The Preferred DNS server will be 192.168.0.1


Router – Port Forwarding

Log into your router using a web browser by typing “192.168.0.1” into the address bar. This should bring up a login screen by default the user name is “admin” and the password is “1234” unless you have changed this. Login and choose the “Advanced” option on the left side of the screen. Choose the Ports option, which will bring up the Port Forwarding screen.

In the Start Port type 21 and End Port type 21 as shown below. For Server IP Address enter the IP address of your FTP Server. (The one we assigned in the previous section Assigning your FTP server a static IP address)

You will repeat this process for the PASV ports as well.

In the example below you see we have forwarded incoming requests on the ports 21 and 2000-2010 to be forwarded to our FTP Server located at the IP Address 192.168.0.2


When you are done click the “Apply” button to write the changes to your router.

*Note: You will want to disable the DHCP Server in the router and assign Static IP addresses to each PC on your network…or…if you choose to you can just assign the FTP Server a Static IP that is not located within the DHCP pool of addresses.

Running an FTP Server with an ISP that assigns a Dynamic IP address

If you are like me your ISP (Internet Service Provider) assigns you a Dynamic (Changing not Static) IP address. So that you do not have to check to see what your IP address is every time it changes, you can use a service like Dynamic DNS provided by www.DynDNS.org . This service allows you to map a static DNS name to a Dynamic IP address and with the use of an Dynamic DNS updater client, such as DeeEnEs , you can automatically update the IP address to the DNS name.

First read the How-To. This will explain what you need to do to setup your account and how it works.

After you have your IP address mapped to a DNS name download DeeEnEs install it, and setup an account.

After you have the Dynamic DNS all setup you will want to open the Administrator window for Serv-U and set it to Enable Dynamic DNS for your Domain. As shown below in the next two examples.





Connecting to the FTP Server through a web browser

In the address field type ftp://yourusername:yourpassword@yourftpserversname and hit enter.

For example if you have the following setup:

DNS Name: johnsmith.homeftp.net
User Name: jsmith
Password: apple

Then you would type:

ftp://jsmith:apple@johnsmith.homeftp.net
To access your FTP server. *Note you must access this from a client outside of your LAN (Local Area Network) to test the connection.
If you are allowing anonymous connections you can access this simply by typing:

ftp://johnsmith.homeftp.net


That concludes my walkthrough of setting up an FTP Server behind a Netgear RT314 router.

Last edited by d1sc g0lf3r : January 21st, 2004 at 09:51 AM.
d1sc g0lf3r is offline   Reply With Quote
Old January 3rd, 2003, 06:14 PM     #2 (permalink)
Human voltmeter
 
DanU's Avatar
 
Join Date: Oct 2001
Location: SF Bay Area
Posts: 4,217
Send a message via AIM to DanU Send a message via Yahoo to DanU
Hi,
I've got the same router and have no problems running an FTP server behind it. I didn't need to change the FTP port from the default of 21. All I needed to do was set up port forwarding to redirect port 21 to the IP address of the FTP server. I use TYPSoft FTP server, which also fits on a floppy .

-Dan
DanU is offline   Reply With Quote
Old January 3rd, 2003, 11:23 PM     #3 (permalink)
Member
 
Join Date: Oct 2002
Location: San J0se, CA
Posts: 286
Send a message via AIM to gino X
Looks nice and dandy IMO, I tried it using Serv-U FTP server also, and with your solutions, it ran without a hitch!! Thanks DG
gino X is offline   Reply With Quote
Old January 4th, 2003, 12:59 AM     #4 (permalink)
Member
 
Join Date: Sep 2002
Location: Woodstock, GA
Posts: 338
Quote:
Looks nice and dandy IMO, I tried it using Serv-U FTP server also, and with your solutions, it ran without a hitch!! Thanks DG

gino X - LOL thanks its a work in progress that I havent finished yet gald it could help



Quote:
I've got the same router and have no problems running an FTP server behind it. I didn't need to change the FTP port from the default of 21.

DanU - You are exactly right I will edit that. I had forgotten to test it with an outside client. I have verified that it will work on port 21 also. Thanks for making me do further testing.
d1sc g0lf3r is offline   Reply With Quote
Old January 5th, 2003, 04:50 PM     #5 (permalink)
Junior Member
 
Join Date: Jan 2003
Posts: 4
grr. I used to have the RT314 before it got fried. I was able to host programs through it.

Ya don't by any chance know where I can find out how to host programs through the FR314 do ya?
madmanfrommars is offline   Reply With Quote
Old January 8th, 2003, 03:57 PM     #6 (permalink)
Member
 
Join Date: Sep 2002
Location: Woodstock, GA
Posts: 338
I wanted to BUMP this post as I have finished it and I wanted to get feedback on it:

1. Is this a helpful walkthru?

2. Does it need to be edited? (Do you see any mistakes?)

3. Do you have any questions I might be able to answer in an update?

4. Can the Mods sticky this?
d1sc g0lf3r is offline   Reply With Quote
Old February 7th, 2003, 01:25 PM     #7 (permalink)
Ultimate Member
 
bhess's Avatar
 
Join Date: Oct 2001
Location: Florida
Posts: 1,475
Send a message via ICQ to bhess Send a message via Yahoo to bhess
Great tutorial! I also have the same router and use serv-U.

I could never get it to work with passive on though. Also unless I did something wrong I had to change my port number high because my isp must block servers. Even thought they say they don't. Probably my bad.
__________________
Nope, I refuse to have a signature
bhess is offline   Reply With Quote
Old February 22nd, 2003, 09:57 PM     #8 (permalink)
Junior Member
 
Join Date: Feb 2003
Posts: 2
I have gone through all the steps and still cannot log into my out FTP server.

With the configuration that you laid out, what port do I tell users to use, 21 or 2000?

I didn't disable my DHCP server. I did set my static IP to 192.168.0.100. I am using my current IP as the IP that I am trying to attach to.

I have my port forwarding correct.

Any ideas as to why this isn't working?
dminches is offline   Reply With Quote
Old February 23rd, 2003, 12:15 PM     #9 (permalink)
Member
 
Join Date: Sep 2002
Location: Woodstock, GA
Posts: 338
Port is 21 by default if they are using an FTP client and they have it set to connect using PASV mode then it will use one of the ports at 2000-2010. You need to forward all those ports to 192.168.0.100

If you are trying to connect to your FTP server on your LAN, your router will not support local loopback so you will not be able to test connection using the DNS name. Instead you will nead to type in the private IP 192.168.0.100 as the address from another PC (Not the FTP Server machine) on your LAN to test connection.

Also do you have a static WAN IP address? or a dyanmic WAN IP address? if dynamic are you using www.DynDNS.org and the DeeEnEs dynamic update utility?

Can you connect to it from a machine outside of your LAN using the DNS name?
d1sc g0lf3r is offline   Reply With Quote
Old February 23rd, 2003, 03:34 PM     #10 (permalink)
Junior Member
 
Join Date: Feb 2003
Posts: 2
First, thanks for your reply.

Quote:
Originally posted by d1sc g0lf3r
Port is 21 by default if they are using an FTP client and they have it set to connect using PASV mode then it will use one of the ports at 2000-2010. You need to forward all those ports to 192.168.0.100

This I have done in the netgear admin setup

Quote:
If you are trying to connect to your FTP server on your LAN, your router will not support local loopback so you will not be able to test connection using the DNS name.

I am not using a DNS name. I was using my IP address that I obtained through www.whatismyip.com. I realize that this may change at times, but it seems to be the same as long as my modem stays on.

Quote:
Also do you have a static WAN IP address? or a dyanmic WAN IP address? if dynamic are you using www.DynDNS.org and the DeeEnEs dynamic update utility?

I am assuming that it is static.

Quote:
Can you connect to it from a machine outside of your LAN using the DNS name?

I gave someone my IP address and set them up with an account but they weren't able to connect. Now that I have made changes I should try again.

Which port should they be using in their FTP client; 21 or 2000?

Also, do I need to use PASV? If so, which IP do I put in there, my internal IP 192.168.0.100 or my "public" IP?

Thanks againl.
dminches is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (1635)
FT HOOD attack: 7 killed 12 injured (67)
Review My Build (6)
HELP!!! What do you think of this s.. (16)
Looking for a graphic card that wil.. (30)
Assosiations (21496)
My 1st pc build (40)
PC Modern Warfare 2: it's much wors.. (12)
Aero in Vista (7)
core i7 extreme 975, nvidia 9400gt (9)
How to Ship a PC (16)
Building my first computer (13)
[F@H SPAM 11/1/09]New month . . . n.. (33)
slaving laptop drive (7)
Recent Discussions
windows 7 retail and rtm (4)
boot from CD-ROM in chipset via P4M80.. (2)
Powe Director v8 (0)
Windows Experience Index is screwed u.. (3)
Review My Build (6)
FAT32 to NTFS file system in Win2kpro (4)
Internet very slow since updating AVG.. (8)
Motherboards and my curse... (25)
HELP!!! What do you think of this sys.. (16)
New Processor, Monitor will not turn .. (2)
2009 Build (4)
My 1st pc build (40)
Freezing During Music/Movies (1)
ext. sound card laptop to stereo syst.. (2)
Remote Desktop via SSH and error mess.. (2)
Help and Support disappeared from my .. (0)
[F@H SPAM 11/1/09]New month . . . new.. (33)
Basic applications needed for "r.. (1)
core i7 extreme 975, nvidia 9400gt (9)
hard drive problem (2)
Win7 TrustedInstaller Permissions (2)
Speed up Win 7 boot time a bit (1)
Hard Drive test program (2)
wireless westell versalink model 327w (1)
New build 10 second reboot cycle! Won.. (3)


All times are GMT -4. The time now is 08:46 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28