Windows XP and FTP through a router

geekender

Platinum Member
Apr 26, 2001
2,414
0
0
I have an RM356 Netgear 56k dial up router which connects to the internet. I have ports 20-22 forwarded to my internal ip address on my host computer which is running Windows XP Pro. I set up ftp services through IIS on the host machine and can access it from an internal ip (ie typing the internal address 192.168.x.x) but when I type the wan ip or name "ftp://xxxxx.dynu.com", I get an error that the permissions are set incorrectly. I am using a dynamic name resolving service (DYNU)and thought this was the problem so I tried their service (DYNU ftp), but I still get the same error. I then assumed that there must be a problem with the anonymous access (windows xp ntfs permissions), so I created a new user with rights to the ftp folder, but I still get the same error.

What am I doing wrong?

 

Need4Speed

Diamond Member
Dec 27, 1999
5,383
0
0
you can't access a WAN address (xxx.dynu.com) from behind a router if the PC that has that address is also behind the same router...the only way to access that resource is to use the local IP. Try having one of your friends access the ftp from outside the router.
 

Journeyman

Senior member
Apr 13, 2001
354
0
0
Likely your router just doesn't support Internal Loopback... If you were running a web server, I'd recommend using Anonymizer (www.anonymizer.com) to test if it's working through the router. With FTP, you'll just have to check from a computer outside the router...

If you just want to be able to access the server by name from other machines on your LAN, you can add an entry for it to each computer's HOSTS file that will resolve the URL to the internal IP address...

 

Journeyman

Senior member
Apr 13, 2001
354
0
0


<< So how then do I make my files publicly available using dynamic resolution? >>



Your problem isn't related to name resolution - if that was the problem, you'd be able to use the WAN IP to successfully FTP to the server. Chances are you've got the dynamic name resolution set up correctly.

Are you sure the error you're getting when trying to access the server is a server error and not a router error? It's actually asking you for a Windows username and password, and not asking you to log into the router?
 

geekender

Platinum Member
Apr 26, 2001
2,414
0
0
I have port forwarding set up on the router so that the FTP ports 20-22 forward to the server. No, it does not request windows username and password. And I even tried logging on from home ( this connection is for a business) first trying ftp://username:password@xxxx.dynu.com [could not be authenticated] ftp://username.password@ipaddress [could not be authenticated] ftp://ipaddress [connected as anonymous, even though anonymous not set up and although it conected I could not browse for files]

 

geekender

Platinum Member
Apr 26, 2001
2,414
0
0
Update: I moved the ftp directory off of the NTFS partition and onto a newly created FAT partition to eliminate any NTFS permission problems and now I can log on to the ftp directory, but still cannot transfer files back and forth.