I opened port 20, still did not work -- here is what my server logs if that helps: (i have censored out login/realname/ip)
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > logged in.
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > 230 User xxxxxxx logged in.
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > REST 1
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > 350 REST supported. Ready to resume at byte offset 1.
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > REST 0
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > 350 REST supported. Ready to resume at byte offset 0.
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > SYST
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > 215 UNIX Type: L8
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > PWD
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > 257 "/" is current directory.
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > PORT 192,168,1,100,4,41
(000003) 9/21/00 7:29:09 PM - Joe Bob (xxx.xxx.xxx.xxx) > 200 Port command successful.
(000003) 9/21/00 7:29:10 PM - Joe Bob (xxx.xxx.xxx.xxx) > TYPE A
(000003) 9/21/00 7:29:10 PM - Joe Bob (xxx.xxx.xxx.xxx) > 200 Type set to A.
(000003) 9/21/00 7:29:10 PM - Joe Bob (xxx.xxx.xxx.xxx) > LIST
(000003) 9/21/00 7:29:10 PM - Joe Bob (xxx.xxx.xxx.xxx) > 150 Opening data connection for directory list.
(000003) 9/21/00 7:29:11 PM - Joe Bob (xxx.xxx.xxx.xxx) > 426 Cannot retrieve.
(000003) 9/21/00 7:29:31 PM - Joe Bob (xxx.xxx.xxx.xxx) > disconnected. (00:00:22)
as for PASV mode:
(000008) 9/21/00 11:05:23 PM - Joe Bob (xxx.xxx.xxx.xxx) > PASV
(000008) 9/21/00 11:05:23 PM - Joe Bob (xxx.xxx.xxx.xxx) > 227 Entering Passive Mode (192,168,1,100,7,248).
(000008) 9/21/00 11:05:23 PM - Joe Bob (xxx.xxx.xxx.xxx) > TYPE A
(000008) 9/21/00 11:05:23 PM - Joe Bob (xxx.xxx.xxx.xxx) > 200 Type set to A.
(000008) 9/21/00 11:05:23 PM - Joe Bob (xxx.xxx.xxx.xxx) > LIST
(000008) 9/21/00 11:05:23 PM - Joe Bob (xxx.xxx.xxx.xxx) > 150 Opening data connection for directory list.
(000008) 9/21/00 11:05:24 PM - Joe Bob (xxx.xxx.xxx.xxx) > 426 Cannot retrieve.Aborting.
(000008) 9/21/00 11:05:24 PM - Joe Bob (xxx.xxx.xxx.xxx) > disconnected. (00:00:02)
When using passive Joe Bob reports a 'socket error' when LIST is sent.
Joe Bob is behind a Linksys 4-port Router.
Joe Bob logging in from a UNIX Shell outside his firewall:
(000011) 9/21/00 11:15:25 PM - Joe Bob (xxx.xxx.xxx.xxx) > logged in.
(000011) 9/21/00 11:15:25 PM - Joe Bob (xxx.xxx.xxx.xxx) > 230 User xxxxxxx logged in.
(000011) 9/21/00 11:15:26 PM - Joe Bob (xxx.xxx.xxx.xxx) > SYST
(000011) 9/21/00 11:15:26 PM - Joe Bob (xxx.xxx.xxx.xxx) > 215 UNIX Type: L8
(000011) 9/21/00 11:15:29 PM - Joe Bob (xxx.xxx.xxx.xxx) > PORT ***,***,***,***,58,206 - blocked his ip.
(000011) 9/21/00 11:15:29 PM - Joe Bob (xxx.xxx.xxx.xxx) > 200 Port command successful.
(000011) 9/21/00 11:15:29 PM - Joe Bob (xxx.xxx.xxx.xxx) > LIST
(000011) 9/21/00 11:15:29 PM - Joe Bob (xxx.xxx.xxx.xxx) > 150 Opening data connection for directory list.
(000011) 9/21/00 11:15:29 PM - Joe Bob (xxx.xxx.xxx.xxx) > 226 File sent ok.
(000011) 9/21/00 11:16:43 PM - Joe Bob (xxx.xxx.xxx.xxx) > PORT ***,***,***,***,58,207 - I blocked my friends IP, but it was his not mine.
(000011) 9/21/00 11:16:43 PM - Joe Bob (xxx.xxx.xxx.xxx) > 200 Port command successful.
(000011) 9/21/00 11:16:43 PM - Joe Bob (xxx.xxx.xxx.xxx) > LIST
(000011) 9/21/00 11:16:43 PM - Joe Bob (xxx.xxx.xxx.xxx) > 150 Opening data connection for directory list.
(000011) 9/21/00 11:16:43 PM - Joe Bob (xxx.xxx.xxx.xxx) > 226 File sent ok.
So we have figured it out we think -- the FTP server is using my internal IP (192.168.1.100) as the joining parties IP -- but when the unix machine logs in (or a machine not behind a firewall) PORT reads the joiners IP as in example of UNIX machine.
So we just need to figure out how to make the FTP Server get the correct IP from the users behind firewalls? --- Thoughts? 🙂
Thanks for all you help, please keep the ideas coming!