Ciao a tutti.

Ho un problema col connettermi da remoto al mio server ftp.

Quando da terminale mi collego all'indirizzo ip, tramite SSH, del server remoto, e da qui avvio ftp localhost riesco ad entrare, autenticarmi e fare quello che mi pare e piace.

Quando apro il browser o mi collego con ftp da windows non riesco a collegarmi e mi dice:

  • Google Chrome: Pagina non trovata - errore sconosciuto.
  • Internet Explorer: Niente
  • Cmd ftp: ftp: connect :Numero di errore sconosciuto
  • Explorer: A connection with the server could not be established


Facendo un portscan sulla porta 21, è aperta.

Eseguendo da terminale il comando nmap -sT -O localhost mi ritorna il seguente output:

Starting Nmap 4.53 ( http://insecure.org ) at 2009-01-06 16:51 CET
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 1708 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
80/tcp open http
3306/tcp open mysql
10000/tcp open snet-sensor-mgmt
Device type: general purpose
Running: Linux 2.6.X
OS details: Linux 2.6.17 - 2.6.18 (x86)
Uptime: 61.040 days (since Thu Nov 6 15:54:26 2008)
Network Distance: 0 hops

OS detection performed. Please report any incorrect results at http://insecure.org/nmap/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 1.582 seconds

Scrivendo cat /etc/services | grep 21 mi ritorna:
ftp 21/tcp.
Scrivendo netstat -anp | grep 21 mi ritorna

tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 21927/mysqld
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 29842/xinetd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 21747/sshd
tcp 0 52 XX.XX.XX.XX:XXXX YY.YY.YY.YY:QQQQ ESTABLISHED 32217/sshd: root@tt
unix 9 [ ] DGRAM 00000000000 00000/rsyslogd /dev/log
unix 2 [ ACC ] STREAM LISTENING 00000000000 00000/mysqld /var/lib/mysql/mysql.sock
unix 2 [ ] DGRAM 00000000000 00000/sshd: root@tt

Facendo lsof -i | grep 21 mi ritorna:

sshd 21747 root 3u IPv4 2345357157 TCP *:ssh (LISTEN)
mysqld 21927 mysql 10u IPv4 2345357325 TCP localhost.localdomain:mysql (LISTEN)
httpd 23921 apache 3u IPv4 2345368140 TCP *:http (LISTEN)
sshd 32217 root 3u IPv4 2369888353 TCP degiuli-ingegneria.it:ssh->host168-77-dynamic.56-82-r.retail.telecomitalia.it:sun-as-nodeagt (ESTABLISHED)


Qualcuno mi sa aiutare per piacere???