Solved

Active Mode access to Win98 FTP server behind Linksys BEFSX41 router

Posted on 2003-12-05
6
595 Views
Last Modified: 2013-11-30
I have a home LAN behind a cable modem and Linksys BEFSX41 router. One of the computers on the LAN is running Win98 and an FTP server, currently GuildFTPd.  My cable ISP has assigned me one external IP address, which gets an outside user to the cable modem/router.

The machines on my LAN are all assigned static IP addresses, in the 192.168.x.x range. In the router (this is a NAT type router with UPnP features), on the UPnP Forwarding page, I've forwarded the FTP port (assumed by the router to be 21, and not changeable) to the FTP server's static IP.

With this configuration, Passive Mode access to the FTP server works, both from the outside and from the inside (i.e. I can use an FTP client on another machine on the LAN and connect to my cable modem's external IP address, which connects me to the FTP server; I assume the cable modem is looping back).

However, I can't seem to get Active Mode to work from the outside (or looping back through the cable modem/router). Active Mode works fine if I access the server directly across the LAN via its local static IP address, but not if I go through the router (via my external IP).  If I go through the router, either from inside or outside, I get a connection to the FTP server, but then when the FTP client executes a LIST command, it fails.

I've tried all sorts of port forwarding schemes within the Linksys router without success. Incidentally, previously I was running WFTPD as the FTP server and had the same problem.

(Also incidentally, if I turn on the Passive Mode option in GuildFTPd and configure the router with a trigger port of 21 and port range forwarding for the appropriate range, I can no longer make Passive Mode connections either!)

Is there any way to set up the Linksys BEFSX41 router to allow Active Mode FTP behind it?
0
Comment
Question by:alisonnic
6 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 63 total points
ID: 9882473
See hre for explanation of active/passive:

http://slacksite.com/other/ftp.html
0
 
LVL 35

Assisted Solution

by:ShineOn
ShineOn earned 62 total points
ID: 9886868
Active mode FTP (also known as PORT mode) uses both port 20 and 21.  Both must be available, so you need to port-translate port 20 to your Win98 box, too.

It still might not work, because many FTP clients expect to see the IP address of the server returned in a response, when doing active FTP, and if your FTP server sends your private IP address, that won't match up, and the active-mode connection will fail.
0
 

Author Comment

by:alisonnic
ID: 12474857
Apologies for not responding to this sooner, and thanks to TheLearnedOne and modulo for cleaning this up.

Also, thanks to qualetee and ShineOn for the information about Active FTP.  I wasn't able to get it to work in my situation, and I suspect that the problem was that the server was returning its local IP address, as ShineOn suggested.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Please see preceding article here: http://www.experts-exchange.com/Networking/Operating_Systems/A_11209-Root-Bridge-Election.html Figure 1 After Root Bridge has been elected, then what?..... Let's start by defining a Root Port in la…
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

13 Experts available now in Live!

Get 1:1 Help Now