LinkSYS 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 LinkSYS 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 LinkSYS web site for additional information if something isn't quite clear.

IMPORTANT NOTE: These instructions were written based on the firmware revision 1.385 for the BEFSR11 and BEFSR14 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 Linksys router. (default address of your LinkSYS 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 LinkSYS router)
- Type in the default password (you should change it) or the one you set up yourself.
- Click the Status page
- 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 LinkSYS 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)
- Click OK
- Click Admin menu
- Click Restart server

- Open the properties of your router in your web browser again and login with your password
- Click the DHCP Tab
- Select the Disable option (which means that you're PC's need static addresses)
- Click Apply
- Click Continue
- Click the Advanced Tab
- Click the Filters Tab
- Click the o DISABLE option next to SPI (port forwarding currently won't work if this is ENABLE)
- Click the Forwarding Tab
- Type in the port you've set for GuildFTPD in an unused Service Port Range line [ like 21~21 ] (you set the port for connections to GuildFTPD in the main lower-right window of GuildFTPD and is 21 by default - 2121 & 2100 are popular alternatives that some people use to keep their ISPs from blocking connections)
- Leave the Protocol at both
- Type in the address of your server (like 50 if you've set it to 192.168.1.50)
- If your passive ports are not near your server port, type in the ports you've set for GuildFTPD's Passive Port Range in an unused Service Port Range line [ like 2100~2121 ] (you set the ports for passive ports in the Advanced Setting Tab of the Options in the Admin menu)
- Leave the Protocol at both
- Type in the address of your server (like 50 if you've set it to 192.168.1.50)
- Click Apply
- Click Continue
- Close the Port Forwarding web browser window

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.

Sometimes, it's necessary to upgrade your router's firmware. When you do upgrade your firmware, your settings may not be working even though they are showing up in the router's config. If you've got everything set up, but can't connect, you may need to reset your router. Record all of your current settings, press the reset button, unplug the router for 5 minutes, plug it back in and set it back up.

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.

If you can connect to the server internally, but users can't connect from the internet, you may need to correct your router's settings. To see if your router is the problem, you can install and set up LinkSys' Log Viewer. It doesn't come with the router, but I found it by searching Linksys' website - ftp://ftp.linksys.com/pub/befsr41/logviewer.exe

- First, you install the Log Viewer on a Windows computer.
- Next, you go to the Log tab in the router's web config page and click ENABLE.
- Now, type in the IP address of the computer running the Log Viewer program (That computer should have a static IP address).
- When someone tries to connect to the router, you'll see an entry show up in the INCOMING log.
- If the entry shows a destination port that matches your FTP port and a destination IP address of your router's WAN address, your router is mis-configured.
- If the entry shows a destination port that matches your FTP port and the destination IP address of your GuildFTPd server, the problem is the config of either GuildFTPd or a firewall you're using.
- Should the second one be the case, check the syslog.txt in the GuildFTPd directory and see if you can find a login or path or password error.