Solved

Active Mode access to Win98 FTP server behind Linksys BEFSX41 router

Posted on 2003-12-05
6
611 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

636 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