FTP issue

Discussion in 'Installation/Configuration' started by SlowJamz, May 20, 2009.

  1. SlowJamz

    SlowJamz New Member

    Hi, i have installed server using Perfect server setup Ubuntu 9.04 and ISPconfig 3.

    Everything installed fine and ISPConfig works normally. But I can't connect to ftp from outside (from other machine in lan), when i try to connect localy "ftp localhost" in putty everything shows ok, and i can login, but when i connect from other machine using total commander i get "No response (timeout)" error.

    What could be my problem?

    Regards.
     
  2. gring

    gring HowtoForge Supporter

    Hi, are you using pure-ftpd?
    Check if there is a /etc/pure-ftpd/conf/Bind file and what is in it.
     
  3. SlowJamz

    SlowJamz New Member

    Hi,

    Yes I'm using pure-ftpd. I can't find this file in my system.

    What i should do?

    Regards.
     
  4. till

    till Super Moderator

    Please post the output of:

    netstat -tap

    and

    iptables -L
     
  5. SlowJamz

    SlowJamz New Member

    HI,

    netstat -tap
    Code:
    (No info could be read for "-p": geteuid()=1000 but you should be root.)
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      -
    tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      -
    tcp        0      0 *:mysql                 *:*                     LISTEN      -
    tcp        0      0 localhost.localdo:spamd *:*                     LISTEN      -
    tcp        0      0 *:http-alt              *:*                     LISTEN      -
    tcp        0      0 *:www                   *:*                     LISTEN      -
    tcp        0      0 *:ftp                   *:*                     LISTEN      -
    tcp        0      0 servas.sakiai.co:domain *:*                     LISTEN      -
    tcp        0      0 localhost.locald:domain *:*                     LISTEN      -
    tcp        0      0 *:ssh                   *:*                     LISTEN      -
    tcp        0      0 *:smtp                  *:*                     LISTEN      -
    tcp        0      0 *:https                 *:*                     LISTEN      -
    tcp        0      0 localhost.localdo:51870 localhost.localdo:mysql ESTABLISHED -
    tcp        0     52 servas.sakiai.com:ssh   192.168.0.33:49455      ESTABLISHED -
    tcp       54      0 localhost.localdo:33743 localhost.localdo:10025 CLOSE_WAIT  -
    tcp        0      0 localhost.localdo:58950 localhost.localdoma:www TIME_WAIT   -
    tcp        0      0 localhost.localdo:mysql localhost.localdo:51870 ESTABLISHED -
    tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      -
    tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      -
    tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      -
    tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      -
    tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      -
    tcp6       0      0 localhost:domain        [::]:*                  LISTEN      -
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      -
    tcp6       0      0 localhost:44640         localhost:domain        TIME_WAIT   -
    tcp6       0      0 localhost:45230         localhost:ftp           TIME_WAIT   -
    
    iptables -L

    Code:
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    fail2ban-ssh  tcp  --  anywhere             anywhere            multiport dports ssh
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain fail2ban-ssh (1 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
     
  6. till

    till Super Moderator

    This looks fine. FTP is listening on all IP addresses and it is not blocked by a firewall on the server. Are the other machines in the same network or is there a router between your server and these machines?
     
  7. SlowJamz

    SlowJamz New Member

    There are windows server 2003 on this network. Windows is the main machine for now, but I want to migrate to linux, but how can this interfere if i'm using IP address when connecting to server? all ip addresses in my lan are static so theere should be no conflicts.
     

Share This Page