FTP server through router

Associate
Joined
24 Apr 2006
Posts
146
Location
High Wycombe
Im trying to set up an FTP server, which I've done. My problem is I can't access it because I have no idea how to map the external IP to the internal IP of my pc as I am setting it up through a router. Any ideas? I am using an extremely naff Origo ASR-8400 router. Need to upgrade it at some stage....

The error is '530 Login Failed'.
 
Last edited:
i've got that router, it aint really naff it works fine just aint got the best features and is abit old now.
you could goto the misc configuration page on the router then enter your FTP server's LAN IP in the part saying DMZ. that would mean all traffic would be allowed to that IP address which should let you connect to it, however if your getting "login failed" then you must be able to contact the FTP server from outside the local network?
another option is to set up port forwarding by going to virtual server (again on the router config) and setting the port (21 i think for both public + private) to the FTP servers ip again
 
Ive set up port forwarding of port 21, tcp and udp. Trying to connect using FTP voyager and it says password not accepted. I know the password is correct cos i set it up myself. Any ideas?
 
make sure you check the windows firewall exceptions section via control panel in win xp

i had to add my ftp server port as an exception in order for it to work (took hrs to work out as it needs to be done even if windows xp firewall 'turned off')
 
also did you enable FTP server in the misc configuration section of the router (i dunno if that does anything though :p )
 
Sijo45 said:
Ive set up port forwarding of port 21, tcp and udp. Trying to connect using FTP voyager and it says password not accepted. I know the password is correct cos i set it up myself. Any ideas?

Does it work internally?
 
how are you connecting at the moment, 127.0.0.1 as the address?

if you dont want to keep pestering friends etc http://www.net2ftp.com/ is a really good site (there are more like it), you can use this site to test your ftp.

what server software are you using?
 
Ok, I have set the exception within Windows Firewall. I am using "serv-u" to configure the FTP server. Windows built in options seemed a bit limited. Anyway, my friend can now see the files on the server, but cannot download them. There shouldn't be a file size limit should there?

This is the error message in the "serv-u" activity reports:

[3] Mon 01May06 15:30:07 - (000046) Error sending file c:\ftp\blah..., aborting (0 Bytes/sec - 0 Bytes, command connection closed)
[5] Mon 01May06 15:30:07 - (000046) Connection timed out

Also, she cannot access it all the time - sometimes the browser just shows the torch "searching" the directory.
 
I tried connecting through net2ftp. The first time, I couldn't connect, then tried again and it connected perfectly, and now I can't connect again... I have no idea what the problem is.
 
i have had this problem as well and seemed to fix it earlier today by dropping the mtu size in my router down a little - netgear dg834g from 1458 to 1400 i think did the trick
 
you need to forward a range of ports for passive users otherwise clients from behind firewalls will not be able to connect. Typically this will be a range of ports like 2048 to 2148.
 
I tried forwarding those ports. Still doesn't work - could it be a different range depending on the router? Im starting to think a new router is in order. I also have a problem with MSN messenger constantly signing in and out, and I know it's not the PC as it does it with my laptop as well. Has anyone else experienced this problem? Tried updating the router's firmware to no avail.
 
The range of passive ports is set in your ftp server software. for serv-u try Local Server/Settings/Advanced tab/PASV port range
 
Back
Top Bottom