I am not sure where I made my mistake everything went well until the final testing. I was able to log in with putty and finish the set up, I logged into phpmyadmin with my domain name and when I typed in my domain name into a browser I get the apache server default web page that says (It Works!). When I tried to log in with any of the ftp client programs I get a message like- connection refused by server or connection aborted by software in the host machine. I have tried several different ftp client programs on windows and linux workstations without any luck. I tried using port 20 and 21 but it just seems like it won't accept the testuser and password.
Netstat and iptables Netstat -tap : Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost.localdo:mysql *:* LISTEN 2230/mysqld tcp 0 0 *:sunrpc *:* LISTEN 1926/portmap tcp 0 0 *:auth *:* LISTEN 2400/inetd tcp 0 0 *:37241 *:* LISTEN 2437/rpc.statd tcp 0 0 localhost.localdom:smtp *:* LISTEN 2384/exim4 tcp6 0 0 *:www *:* LISTEN 2483/apache2 tcp6 0 0 *:ssh *:* LISTEN 2411/sshd tcp6 0 148 ftp1.xxxxxxxxx13.co:ssh ::ffff:192.168.0:nessus ESTABLISHED6244/0 iptables -L: 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
Hostname problem I have also received error messages that my hostname could not be resolved. My dns provider claims that this should not be a problem and I should be able to access my ftpserver without it. I am not so sure, everything looks like localhost.localdomain only.
vsftpd.conf error I could not find my error so I completely redid my vsftpd.conf file. The ftp server now shows up on netstat -tap: ftp1:/# netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost.localdo:mysql *:* LISTEN 2227/mysqld tcp 0 0 *:sunrpc *:* LISTEN 1925/portmap tcp 0 0 *:auth *:* LISTEN 2398/inetd tcp 0 0 *:ftp *:* LISTEN 3170/vsftpd tcp 0 0 *:52405 *:* LISTEN 2434/rpc.statd tcp 0 0 localhost.localdom:smtp *:* LISTEN 2385/exim4 tcp6 0 0 *:www *:* LISTEN 2480/apache2 tcp6 0 0 *:ssh *:* LISTEN 2408/sshd tcp6 0 0 ftp1.xxxxxxxxx13.co:ssh ::ffff:192.168.0:kermit ESTABLISHED2627/0 I am now connecting up and getting login screens but I am now receiving a 530 error and a message that the server is rejecting the username and password . Testuser and the password are showing up in the phpadmin program any suggestions?