UnknownPerson
Programmer
I recently posted a similar message in the TCP/IP forum, but I really believe people there don't know the answer. The problem is this:
I have a Linux server wich I use as a gateway for my home network (wich has three clients, m1, m2 and m3). All the clients are Windows ME, and are set up to use a gateway wich is my Linux server, wich in turn has ip forwarding enabled.
Everything is ok if I use protocols wich do _*NOT*_ need to transmit their IP off the line (for example, HTTP doesn't need to, but FTP needs to, ICQ needs to, and a lot of other protocols need to do that too). But when I try to use othe protocols like FTP, it doesn't work.
I don't really know the cause of the problem, but I have a serious doubt on the PORT command (in FTPs case). As FTP sends a PORT, he must tell where to establish the connection, and since (i.e.) his IP is 192.168.1.3, he tells the remote computer (i.e. ftp.microsoft.com) that he needs to establish a data connection at 192.168.1.3... I don't know if Microsoft uses a 192.168.0.0 network, but that address is private and obviously the attempt will fail, destroying peace.
So, ** How would ipforwarding let me use protocols wich send their IP on my clients without client modification? **
I want something TRANSPARENT, not to be configured host-by-host, and *I KNOW ITS POSSIBLE (AT LEAST ON FTP)*.
I know of a cyber cafe where computers have no special configs in them and can smootly use it, *USING Linux's IPFORWARDING!!*.
Please, if anyone has a clue, please let me know, I really need to know AND this would be an expert post.
Sincerely yours,
I have a Linux server wich I use as a gateway for my home network (wich has three clients, m1, m2 and m3). All the clients are Windows ME, and are set up to use a gateway wich is my Linux server, wich in turn has ip forwarding enabled.
Everything is ok if I use protocols wich do _*NOT*_ need to transmit their IP off the line (for example, HTTP doesn't need to, but FTP needs to, ICQ needs to, and a lot of other protocols need to do that too). But when I try to use othe protocols like FTP, it doesn't work.
I don't really know the cause of the problem, but I have a serious doubt on the PORT command (in FTPs case). As FTP sends a PORT, he must tell where to establish the connection, and since (i.e.) his IP is 192.168.1.3, he tells the remote computer (i.e. ftp.microsoft.com) that he needs to establish a data connection at 192.168.1.3... I don't know if Microsoft uses a 192.168.0.0 network, but that address is private and obviously the attempt will fail, destroying peace.
So, ** How would ipforwarding let me use protocols wich send their IP on my clients without client modification? **
I want something TRANSPARENT, not to be configured host-by-host, and *I KNOW ITS POSSIBLE (AT LEAST ON FTP)*.
I know of a cyber cafe where computers have no special configs in them and can smootly use it, *USING Linux's IPFORWARDING!!*.
Please, if anyone has a clue, please let me know, I really need to know AND this would be an expert post.
Sincerely yours,