Problem whith client FTP access?

Discussion in 'Installation/Configuration' started by Hudi, Sep 4, 2006.

  1. Hudi

    Hudi New Member

    I instaled Ubuntu 6.06 + ISPConfig +proftp and everything work prfect exept client FTP access.
    I can't conect to my server thru any FTP client (it allways write No conection(timeout)).

    From nmap I get:
    PORT STATE SERVICE
    20/tcp filtered ftp-data
    21/tcp filtered ftp
    22/tcp open ssh
    25/tcp open smtp
    53/tcp open domain
    80/tcp open http
    81/tcp open hosts2-ns
    110/tcp open pop3
    135/tcp filtered msrpc
    136/tcp filtered profile
    137/tcp filtered netbios-ns
    138/tcp filtered netbios-dgm
    139/tcp filtered netbios-ssn
    143/tcp filtered imap
    445/tcp filtered microsoft-ds
    515/tcp filtered printer
    631/tcp filtered ipp
    5102/tcp filtered admeng
    9100/tcp filtered jetdirect
    9111/tcp filtered DragonIDSConsole
    9152/tcp filtered ms-sql2000

    and
    netstat -tap

    tcp 0 0 localhost.localdo:33889 *:* LISTEN -
    tcp 0 0 localhost.localdo:45671 *:* LISTEN -
    tcp 0 0 *:mysql *:* LISTEN -
    tcp 0 0 *:81 *:* LISTEN -
    tcp 0 0 *:ftp *:* LISTEN -
    tcp 0 0 vedezevanje-sp.s:domain *:* LISTEN -
    tcp 0 0 localhost.locald:domain *:* LISTEN -
    tcp 0 0 localhost.localdoma:ipp *:* LISTEN -
    tcp 0 0 *:smtp *:* LISTEN -
    tcp 0 0 localhost.localdoma:953 *:* LISTEN -
    tcp 0 0 localhost.localdo:33889 localhost.localdo:49752 ESTABLISHED-
    tcp 0 0 localhost.localdo:49752 localhost.localdo:33889 ESTABLISHED-
    tcp6 0 0 *:imaps *:* LISTEN -
    tcp6 0 0 *:pop3s *:* LISTEN -
    tcp6 0 0 *:pop3 *:* LISTEN -
    tcp6 0 0 *:imap2 *:* LISTEN -
    tcp6 0 0 *:www *:* LISTEN -
    tcp6 0 0 *:ssh *:* LISTEN -
    tcp6 0 0 *:smtp *:* LISTEN -
    tcp6 0 0 ip6-localhost:953 *:* LISTEN -
    tcp6 0 0 *:https *:* LISTEN -

    FTP in ISPConfig works ok.
    And I cant find any lof for FTP.
    Can Anybody please help me.

    THANX
     
  2. willebanks

    willebanks New Member

    Hudi
    Are you behind a firewall? I have a similar problem and it was my firewall I had to redirect the port! Only my 2 cents...

    Will
     
  3. Hudi

    Hudi New Member

    willebanks
    It is no diferents if I activate firewall or not.
    I am behind router and all my ports on router are opened.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you connect from inside or outside your network? Did you try active and passive FTP connections?

    The ISPConfig webftp is a normal FTP client, if it works fine, the problem is not located in the ftp daemon configuration on your server.
     
  5. Hudi

    Hudi New Member

    till
    Yes I know and thats what it is my problem I dont know what else can be wrong.
    I miss something? I opend ports for FTP 21 on my router.
    Like you can see:
    nmap localhost

    Interesting ports on localhost.localdomain (127.0.0.1):
    (The 1660 ports scanned but not shown below are in state: closed)
    PORT STATE SERVICE
    21/tcp open ftp
    22/tcp open ssh
    25/tcp open smtp
    53/tcp open domain
    80/tcp open http
    81/tcp open hosts2-ns
    110/tcp open pop3
    143/tcp open imap
    443/tcp open https
    631/tcp open ipp
    953/tcp open rndc
    993/tcp open imaps
    995/tcp open pop3s
    3306/tcp open mysql

    and for nmap xxx.xxx.xxx.xxx - my ip

    Interesting ports on xxx.xxx.xxx.xxx:
    (The 1666 ports scanned but not shown below are in state: closed)
    PORT STATE SERVICE
    21/tcp filtered ftp
    22/tcp open ssh
    25/tcp open smtp
    53/tcp open domain
    80/tcp open http
    81/tcp open hosts2-ns
    110/tcp open pop3
    143/tcp open imap

    I don't know what it means 21/tcp filtered ftp?
    I realy dont know anymore what can be wrong?
    Any idea?
     
  6. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    iptables -L
    ?
     
  7. Hudi

    Hudi New Member

    OUTPUT:
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Are you trying to connect from outside your LAN or from within? Seems like a router issue to me. Maybe you also have to forward port 20 to your server.
     
  9. Hudi

    Hudi New Member

    If I conect thru my lan whit local IP of server it connect.
    On my router there are opened both ports 21 and 20.
    Can anybody tels me what it means 21/tcp filtered ftp
     
  10. falko

    falko Super Moderator Howtoforge Staff

  11. Hudi

    Hudi New Member

    Yes I try whith both transfers.
    On my server is only firewall whit ispconfig and I eaven try whit ON and OF and there is no diferences.
    Tomorrow I wil try to open all ports and than will see.
     
  12. Hudi

    Hudi New Member

    Hi
    thanx guys for everything. At the end it was really router some friend made his ovn FTP server and he set router to forvording to his address and I use virtual server and I didn't know that he made some changes on router.
    now work everythink OK.

    Once again THANX.
     

Share This Page