Netgear DSL/Cable Router Help


The following list of steps are intended to guide you through the steps of using GuildFTPD on a computer that accesses the Internet through a Netgear DSL/Cable router. Some of the steps listed might help you configure other similar hardware or software. You'll need to be familiar with your router, so if you just purchased it, you may want to read the documentation and visit the Netgear web site for additional information if something isn't quite clear.

IMPORTANT NOTE: These instructions were written based on the firmware revision 3.25 for the RT311 and RT314 models. If you don't have those models or that specific firmware revision, these instructions may not apply. Newer firmware should still apply to these steps, unless settings have been reworded, changed or removed.

- Open the web page to get into the config of your Netgear router. (default address of your Netgear router is 192.168.1.1... I set mine manually to 10.0.0.1... the internal GuildFTPD server/PC was manually assigned the address of 10.0.0.50 with a subnet mask of 255.255.255.0 and a gateway of 10.0.0.1-address of Netgear router)
- Type in the default username (admin) and password (you should change it) or the one you set up yourself.
- Click the Maintenance link to the left
- Click the System Status TAB
- The TCP/IP address listed next to, "WAN, IP Address" is the address you need.... write it down

- Open GuildFTPD
- Click the Admin menu
- Click Options
- Click on the Advanced Tab, if not already open
- Click the Passive, Custom IP button (it should be "depressed")
- Type in the IP Address you recorded from the Status page of your NetGear router in the box next to the Custom IP button - this address is the public/external address that everyone outside of your network can connect to.
- Set a Start and End Range for the Passive Port Range (like 2100 - 2121)
NOTE: If you set GuildFTPd's primary port to 2100 or another non-standard port, make sure that you don't duplicate that port in your passive port range. Example: If you use 2100 for your primary port, make the passive range start at 2101 or 2102.
- Click OK
- Click Admin menu
- Click Restart server

- Open your Web Browser and enter http:// and the IP address of your router
- Enter admin for the username and whatever password you've set (1234 - default)
- Click on the ADVANCED link on the left
- Click on the PORTS link
- Click in the Start Port box of the first non-used rule and enter the FTP port you're using in GuildFTPD (like 21 or 2121)
- Click in the End Port box next to it and enter the same number
- Click in the Server IP Address box next to that and enter the IP address of your server (should be static)
- Click in the Start Port box of the next non-used rule and enter the Start Port you set for the Passive Port Range in GuildFTPd
NOTE: If you set GuildFTPd's primary port to 2100 or another non-standard port, make sure that you don't duplicate that port in your passive port range. Example: If you use 2100 for your primary port, make the passive range start at 2101 or 2102.
- Click in the End Port box next to it and enter the End Port you set for the Passive Port Range in GuildFTPd
- Click in the Server IP Address box next to that and enter the IP address of your server
- Click Apply

NOTE: If you use port 21 for your FTP server, keep these two considerations in mind....
1. Make sure your ISP is not going to shut off your account if they see you doing this.
2. You need to disable a default filter that will prevent FTP from being forwarded.

To disable the default FTP filter...
- Use a Telnet client to access the internal configuration Manager at 192.168.0.1.
- Login using your current router management password (default is 1234).
- Select Menu 21 - Filter Set Configuration.
- Enter 3 to select Filter Set Number 3 (TEL_FTP_WEB_WAN) for editing.
- Press ENTER three times to reach Menu 21.3 - Filter Rules Summary.
Three rules are shown: 
Rule 1 for Telnet (Port 23), Rule 2 for FTP (Port 21), and Rule 3 for HTTP (Port 80)
- Enter the number of the rule that you want to change (2) and press ENTER. 
- In the Filter Rule menu, use Tab or Enter to reach the Action Matched parameter.
- Press the Space Bar until Action Matched = Forward.
- Press ENTER three more times to save the menu and exit to the previous menu.
- Press ESC twice to return to the top menu, and type 99 to exit the Telnet session. 

Try to connect from a PC outside of your network now. If you try to connect from one of your internal computers, you must NOT use the passive connection option.

You should be able to connect using the passive option in a FTP client from outside your network only (an active checked option or passive unchecked option won't work from outside your network -- passive connections are required to get through the router).

One note: If you set a passive port range of 2100-2121, you've limited the number of passive connections to 21. This means, that if you've set you other connections limits higher than 21, the passive port range will reduce the limit to 21 for concurrent passive connections. Only active connections from within your network will not count to this total.

Don't forget to check the syslog.txt and make sure that GuildFTPd is recording a Success audit for the ListenSocket Create and ListenSocket Listen options for your FTP port. If they aren't Success, you probably have another program running that is using the same port. You'll need to reconfigure GuildFTPd or the other program to prevent the conflict.