On Wed, 03 Mar 1999 21:38:01 GMT, Doug Goldstein
>I am trying to foward my an FTP connection from my Linux box connected
>to the internet to my Win box behind the firewall. How it's setup with
>ipportfw is that the person connects to the internet IP of the Linux box
>on port 510 and they are fowarded to 21 on the Windows machine. The user
>can log in fine but they don't receive the directory listing and can't
>receive anything from commands. They generally get the error message "No
>responce." Does FTP use another port for data control that can be set
>and changed?
Yes, FTP uses a second connection for data transfer. In normal FTP,
this is initiated by the server and it connects from its TCP port 21
to a user-area port on the client. I suppose it is possible to modify
the server port, but I don't know how myself. In any case, FTP data
connections from a server on your LAN to the Internet should work
fine, because the server is opening up the connection, so masqueradig
works. Passive FTP will not work, however, and that is what most Web
browsers default to.
Tobias