Ciao, ho un indirizzo ip pubblico configurato in modo che punti ad un indirizzo privato di una certa macchina, mentre non ho particolari problemi con i siti http, stò trovando delle difficoltà nella configurazione delle directory virtuali sull'ftp.
La versione di iis che ho è la 5.1 (win xp pro), tutto quello che faccio è semplicemente questo:
Sul nodo "Sito ftp predefinito", vado nelle proprietà e nella scheda "Account di protezione" tolgo la spunta a "Consenti connessione anonime". Poi creo una nuova directory virtuale che punto ad una directory locale. Sulla directory locale, nella scheda "Protezione" dò tutti i permessi al gruppo administrators. Se provo ad accedere da internet explorer a questo percorso ftp://ippubblico/alias_directory_virtuale, mi appare la richiesta di nome utente e password, digito le credenziali di administrator e pur sembrando che funzioni, non riesco a vedere il contenuto della directory ricevendo un errore di time out che mi avvisa di controllare se ho i permessi per visualizzare quella cartella..
Questo non succede se provo ad accedere ad esempio da un client ftp o dal prompt dei comandi con il comando ftp.. Come mai?
Ah dimenticavo, se provo a connettermi con un client ftp (CuteFtp), al primo tentativo mi esce fuori (nel log di connessione) questo errore:
Però poi subuito si riconnette da solo e funziona..ERROR:> The connection failed due to an error or timeout.
1) Verify that the destination IP address is correct.
2) Increase the connection timeout threshold under Global Settings | Connection.
3) Switch to the opposite data connection type (PASV or PORT) under Site Settings | Type tab.
4) Verify that the problem is not local by trying to connect to an alternate server.
5) If a server name was used, verify it resolves to the correct address.
6) If using a local server table for server name resolution, check to see that it doesn't resolve to an obsolete address.
7) Try pinging the address.
8) If you are using a router, verify the router is up and running (check by pinging it and then ping an address outside of the router).
9) Do a traceroute to the destination to verify all routers along the connection path are operational.
10) Verify that your subnet mask is setup properly.
11) Verify that your local software or hardware firewall is not blocking outbound connections originating from CuteFTP.
12) Verify that your anti-virus software is not at fault (try disabling it).
ERROR:> PASV failed, trying PORT.
Grazie