FTP + ipportfw

FTP + ipportfw

Post by Doug Goldstei » Thu, 04 Mar 1999 04:00:00



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?

Doug Goldstein

 
 
 

FTP + ipportfw

Post by Tobias Reckhard (jest » Fri, 05 Mar 1999 04:00:00


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

 
 
 

1. ipportfw + ftp

I'm running Red Hat 6.0 on a machine with two network cards, one of
which is connected to a cable modem, and the other connected to a
private network. I've got IP masquerade working along with "ipmasqadm
portfw" for telnet, ssh, and http, but can't seem to get ftp working.  I
know that there is two ports used for ftp[command, data], and I
configured the masq box to forward both ports, but the data port isn't
working[on subnet box].  I even went as far as to move the standard
ports on the masq box to something else and use the standard ports for
redirection to the subnet box. Am I missing something? Is this just
Impossible?

Bill Bigness
AppliedTheory Communications

2. These /var/adm files...

3. ipportfw for FTP???

4. select to simulate kbhit

5. ipportfw and Windows NT servers.. (Source Safe)

6. Is it true that RedHat 7.2 will be released on 10/14/01 ?

7. ipportfw

8. Need help w/ answering XF86Config questions

9. IP Alias, IPFWADM and IPPORTFW Help Needed!!

10. ipportfw help!

11. ipportfw errors...help!!!

12. redir and ipportfw

13. Kernel 2.2.1:IPCHAINS:IPPORTFW:IP port forwarding: IP Masq: ipmasqadm