|
||||||||
|
|
#1
|
|
I am in the process of setting up an ftp server.
My configuration is ADSL Router (Origo 8100) 1 PC as the FTP server I have successfully set up the FTP server on internal ip addresses. Externally - no joy I can only connect to the router itself and not the target PC. I have set up port forwarding on the router as follows ID1 Public Port Start - 20 Public Port End - 20 Private Port - 20 Port Type TCP Host IP Address 10.0.0.7 (my target FTP server) ID 2 Public Port Start - 21 Public Port End - 21 Private Port - 21 Port Type TCP Host IP Address 10.0.0.7 (my target FTP server) ID 3 Public Port Start - 20 Public Port End - 20 Private Port - 20 Port Type UDP Host IP Address 10.0.0.7 (my target FTP server) ID 4 Public Port Start - 20 Public Port End - 21 Private Port - 21 Port Type UDP Host IP Address 10.0.0.7 (my target FTP server) So as you can see port 20 and 21 are mapped to TCP and UDP when I try to connect to my external IP address (I have a fixed IP) the session connects to the router only and not the target pc which is 10.0.0.7. Any ideas? as I'm stuck - not much experience with this sort of thing! fake@shere.com |
|
#2
|
|||
|
|||
|
On Mon, 22 Dec 2003 17:57:13 +0000, fak wrote:
> I am in the process of setting up an ftp server. > > My configuration is > > ADSL Router (Origo 8100) > 1 PC as the FTP server > > I have successfully set up the FTP server on internal ip addresses. > > Externally - no joy I can only connect to the router itself and not the > target PC. I have set up port forwarding on the router as follows > > ID1 Public Port Start - 20 > Public Port End - 20 > Private Port - 20 > Port Type TCP > Host IP Address 10.0.0.7 (my target FTP server) > > ID 2 Public Port Start - 21 > Public Port End - 21 > Private Port - 21 > Port Type TCP > Host IP Address 10.0.0.7 (my target FTP server) > > ID 3 Public Port Start - 20 > Public Port End - 20 > Private Port - 20 > Port Type UDP > Host IP Address 10.0.0.7 (my target FTP server) > > ID 4 Public Port Start - 20 > Public Port End - 21 > Private Port - 21 > Port Type UDP > Host IP Address 10.0.0.7 (my target FTP server) > > So as you can see port 20 and 21 are mapped to TCP and UDP > > when I try to connect to my external IP address (I have a fixed IP) the > session connects to the router only and not the target pc which is > 10.0.0.7. > > Any ideas? as I'm stuck - not much experience with this sort of thing! That all seems fine. How do you mean you can only connect to the router? You can't test this from within your own network it must be done from another separate internet connection. And it will indeed seem as if the router is actually the FTP server. To test your FTP server from within your network, you need to connect directly to 10.0.0.7 What operating system and FTP software are you using on 10.0.0.7? If you give me your static IP address I will test it from here. I know you're thinking it is not a good idea to publish it, but you will soon find people connecting to it, to try to use it. Make sure it is secure and unusable to people you don't want to use it. Graham |
|
#3
|
|||
|
|||
|
(E-Mail Removed) writes:
> ID 2 Public Port Start - 21 > Public Port End - 21 > Private Port - 21 > Port Type TCP > Host IP Address 10.0.0.7 (my target FTP server) You only need this rule. FTP does not involve incoming connections to the server on port 20, nor anything to do with UDP. In order to support passive mode, you'll need to configure your ftp server to a range that is free - something like 21200 to 21300 - and forward those with your router. > when I try to connect to my external IP address (I have a fixed IP) the > session connects to the router only and not the target pc which is 10.0.0.7. Which is, of course, correct. Your router has the IP address, not you ![]() The router would need to support loopback forwarding (assuming it exists; can't be bothered to google) to be able to forward ports back to the internal interface. You should get someone else to try the FTP server from a different connection. |
![]() |
| Tags |
| ftp, server |
| Thread Tools | |
| Display Modes | |
|
|