- Jul 2, 2001
- 23
- 0
- 0
Someone please school me on how ftp works - I am about to rip my hair out.
I have a copy of coyote linux. It works great as a router/firewall for my home network. I have posted a few times on their web forum, but have not resolved anything.
I am having the hardest time setting up an ftp server. I am using WARftp. I have setup web and telnet before, and they both work great.
I have the following port forwarding rules in my setup:
ipmasqadm autofw -A -r tcp 20 21 -h 192.168.0.10
ipmasqadm autofw -A -r udp 20 21 -h 192.168.0.10
The ftp server ALMOST works.
Unfortunatly, I cannot connect to my internet ip while behind the router so testing it can be interesting at times. I can connect to my local ip (192.168.0.10) from my LAN and the ftp works flawlessly. Anyway, from the outside, anyone can connect to the ftp server. If using window's dos command line ftp client, the ftp server works absolutly fine as well. If using any other client (ws, cute ftp etc.) people can connect, but get completly stuck when doing the first 'ls' command. It just sits there and eventually times out. It does this from everywhere I have tried it. Again, dos ftp sessions WORK PERFECTLY FINE. I can d/l, u/l, everything. Most of the clients have some 'warftp' specific options, but they change nothing.
This is what ws_ftp says after it logs in (while connecting from work to my house):
PASV
227 Entering Passive Mode (192,168,0,10,9,14)
connecting to 192.168.0.10:2318
! Connection failed 192.168.0.10 - connection timed out
! connect: error 0
Ill be honest by saying that I don't really know whats going on here. Im going to assume that 192,168,0,10 is my local ip. The ",9,14" kinda scares me. What really really scares me is the ":2318" my guess is that this is a port or something like that, and its ALWAYS DIFFERENT. If I cancel and reconnect that number is different right away. If this is the case, I don't see how it would be possible to open it up on the firewall.
Any ideas? Thanks in advance.
			
			I have a copy of coyote linux. It works great as a router/firewall for my home network. I have posted a few times on their web forum, but have not resolved anything.
I am having the hardest time setting up an ftp server. I am using WARftp. I have setup web and telnet before, and they both work great.
I have the following port forwarding rules in my setup:
ipmasqadm autofw -A -r tcp 20 21 -h 192.168.0.10
ipmasqadm autofw -A -r udp 20 21 -h 192.168.0.10
The ftp server ALMOST works.
Unfortunatly, I cannot connect to my internet ip while behind the router so testing it can be interesting at times. I can connect to my local ip (192.168.0.10) from my LAN and the ftp works flawlessly. Anyway, from the outside, anyone can connect to the ftp server. If using window's dos command line ftp client, the ftp server works absolutly fine as well. If using any other client (ws, cute ftp etc.) people can connect, but get completly stuck when doing the first 'ls' command. It just sits there and eventually times out. It does this from everywhere I have tried it. Again, dos ftp sessions WORK PERFECTLY FINE. I can d/l, u/l, everything. Most of the clients have some 'warftp' specific options, but they change nothing.
This is what ws_ftp says after it logs in (while connecting from work to my house):
PASV
227 Entering Passive Mode (192,168,0,10,9,14)
connecting to 192.168.0.10:2318
! Connection failed 192.168.0.10 - connection timed out
! connect: error 0
Ill be honest by saying that I don't really know whats going on here. Im going to assume that 192,168,0,10 is my local ip. The ",9,14" kinda scares me. What really really scares me is the ":2318" my guess is that this is a port or something like that, and its ALWAYS DIFFERENT. If I cancel and reconnect that number is different right away. If this is the case, I don't see how it would be possible to open it up on the firewall.
Any ideas? Thanks in advance.
 
				
		 
			 
 
		 
 
		 
 
		 
 
		
 Facebook
Facebook Twitter
Twitter