[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. <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 All you need to tell
xitami is the 8000 offset it will take care of the rest. FTP uses ports
20 & 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>
& read the thread between me & Johannes Prost for how to setup
xitami for ftp.<br>
<br>
Alex,<br>
<br>
d calif wrote:<br>
<br>
<span style="white-space: pre;">> Newbie can't get FTP working * I
have read through the archieves but<br>
> can't see to find a conclusive answer to my problem. Works locally,<br>
> on 2nd computer through router with WAN IP. But remote friend can <br>
> only log in, but NOT see directories/folders/files.<br>
> <br>
> My setup: Xitami: v 2.5c2 Win98se Router: Dlink DI-604 (NAT) DSL /
<br>
> Dynamic IP Base Port: 8000 HTTP Port: 8080 FTP: cmd : 8021 Router <br>
> Firewall open ports: Public 8021=8021 Private Public 8020=8020 <br>
> Private Public 8080=8080 Private<br>
> <br>
> Attempted several things: *every changed was followed by testing <br>
> both local and remote client. Both passive and active. Tried
opening<br>
> up a range of ports starting at 8020. (My friend's FTP client kept<br>
> try ports above 8020, i.e. 8024, 8025, 8023.<br>
> <br>
> ipaddress = "192.168.0.102" (was in the default.cfg) change it to <br>
> ipaddress = "*"<br>
> <br>
> Tried to force the External IP force-ip = "1" passiveip = "main IP
<br>
> address" (then changed it to external IP and tested)<br>
> <br>
> We managed ONE successful remote complete connection. 1st friend
set<br>
> his client: "Force Server IP for PASV mode" friends FTP client had
a<br>
> "NOTE: Useful for servers with NAT/Non-Routable IP" * We couldn't<br>
> get a 2nd complete on connection, because his client kept trying a
<br>
> different data port each time, at the time only Server Firewall
ports<br>
> 8020 and 8021 were open. We ran out of time and couldn't continue <br>
> testing.<br>
> <br>
> One potential problem is the following line in the his client log:
<br>
> friends client log during successful connection, including login, <br>
> seeing directories, and downloaded 10 files. .............. 227 <br>
> Entering Passive Mode (192,168,0,102,38,192) Opening data
connection<br>
> IP: 64.172.148.182 PORT: 9920. LIST -aL 150 Preparing to transfer <br>
> binary file 128 bytes received successfully. (128 B/s) (00:00:01).
<br>
> ............. code 227 shows the local IP, I had removed all IP's <br>
> from the default.cfg. We saw the local IP every time there was a <br>
> connection and login, but again could not see <br>
> directories/folders/files.</span><br>
<br>
</body>
</html>