I'm trying to run an IIS FTP site through a port forwarding router (BEFSR41). All ports are forwarded to my server at 192.168.0.10 but passive mode doesn't work.
IIS seems to be sending an incorrect IP for passive mode (it's using the local IP rather then the internet ip)
227 Entering Passive Mode (192,168,0,10,18,106).
I can't run active ftp as the machine I'm FTPing from is also behind a router
Is there any way to configure IIS to get round this?
One thing I noticed is the ftp program is sending "227 Entering Passive Mode (192,168,0,10,18,106)". which is the LAN address rather then the external address.
Do FTP clients use this IP or will they go with the original host name given?
when you run your FTP server in passive mode, the server needs to send the client a response with the external IP address i think. If the FTP server sends the internal IP as the response then things wont work. this is usually configurable on the server. if you can't figure it out with IIS, then I dont blame you. Try using FileZilla FTP Server because its easier to understand I think and that configuration parameter is easy to find.
Setting up FTP servers can be a royal pain. I have setup several FTP server, both NAS boxes. One worked with out a hitch, the other was browser sensitive. I had one that only worked with IE passing the user & pw on the address bar. The problem accours when there are firewalls on both ends.
Here is a link that will help explain how the hand shaking works.
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.