[Xitami] FTP , data mode not working

Alex Barna xitami@lists.xitami.org
Wed, 16 Feb 2005 19:00:47 -0600


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You need the ip address from your ISP.&nbsp; <a class="moz-txt-link-freetext" href="http://www.whatismyip.com/">http://www.whatismyip.com/</a><br>
will tell you that. Have your friend use that ip&nbsp; All you need to tell
xitami is the 8000 offset it will take care of the rest. FTP uses ports
20 &amp; 21 with what ever offset you use. The 200 port you asked about
in your second email must be a typo.<br>
<br>
Goto <a class="moz-txt-link-freetext" href="http://lists.xitami.org/pipermail/xitami/2005-February/thread.html">http://lists.xitami.org/pipermail/xitami/2005-February/thread.html</a><br>
&amp; read the thread between me &amp; Johannes Prost for how to setup
xitami for ftp.<br>
<br>
Alex,<br>
<br>
d calif wrote:<br>
<br>
<span style="white-space: pre;">&gt; Newbie can't get FTP working * I
have read through the archieves but<br>
&gt; can't see to find a conclusive answer to my problem. Works locally,<br>
&gt; on 2nd computer through router with WAN IP. But remote friend can <br>
&gt; only log in, but NOT see directories/folders/files.<br>
&gt; <br>
&gt; My setup: Xitami: v 2.5c2 Win98se Router: Dlink DI-604 (NAT) DSL /
<br>
&gt; Dynamic IP Base Port: 8000 HTTP Port: 8080 FTP: cmd : 8021 Router <br>
&gt; Firewall open ports: Public 8021=8021 Private Public 8020=8020 <br>
&gt; Private Public 8080=8080 Private<br>
&gt; <br>
&gt; Attempted several things: *every changed was followed by testing <br>
&gt; both local and remote client. Both passive and active. Tried
opening<br>
&gt; up a range of ports starting at 8020. (My friend's FTP client kept<br>
&gt; try ports above 8020, i.e. 8024, 8025, 8023.<br>
&gt; <br>
&gt; ipaddress = "192.168.0.102" (was in the default.cfg) change it to <br>
&gt; ipaddress = "*"<br>
&gt; <br>
&gt; Tried to force the External IP force-ip = "1" passiveip = "main IP
<br>
&gt; address" (then changed it to external IP and tested)<br>
&gt; <br>
&gt; We managed ONE successful remote complete connection. 1st friend
set<br>
&gt; his client: "Force Server IP for PASV mode" friends FTP client had
a<br>
&gt; "NOTE: Useful for servers with NAT/Non-Routable IP" * We couldn't<br>
&gt; get a 2nd complete on connection, because his client kept trying a
<br>
&gt; different data port each time, at the time only Server Firewall
ports<br>
&gt; 8020 and 8021 were open. We ran out of time and couldn't continue <br>
&gt; testing.<br>
&gt; <br>
&gt; One potential problem is the following line in the his client log:
<br>
&gt; friends client log during successful connection, including login, <br>
&gt; seeing directories, and downloaded 10 files. .............. 227 <br>
&gt; Entering Passive Mode (192,168,0,102,38,192) Opening data
connection<br>
&gt; IP: 64.172.148.182 PORT: 9920. LIST -aL 150 Preparing to transfer <br>
&gt; binary file 128 bytes received successfully. (128 B/s) (00:00:01).
<br>
&gt; ............. code 227 shows the local IP, I had removed all IP's <br>
&gt; from the default.cfg. We saw the local IP every time there was a <br>
&gt; connection and login, but again could not see <br>
&gt; directories/folders/files.</span><br>
<br>
</body>
</html>