Hi! I've just setup ISPconfig 3. Everything is reporting correct, and pure-FTPd is running and listening. But; When i connect ( no matter which client program ), i get the "connection reset" error. /var/log/messages Apr 8 11:30:01 server1 pure-ftpd: ([email protected]) [INFO] New connection from localhost.localdomain Apr 8 11:30:01 server1 pure-ftpd: ([email protected]) [INFO] Logout. Thanks.
These message are not from your logins, they are from the ispconfig status monitor which checks if your ftp daemon is running. 1) is the ispconfig firewall enabled? 2) Please post the output of: iptables -L
1) I think, i don't know how to check, but i can add firewall records in ISPconfig. 2) 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
Ok, the firewall is off. Did you try both active and passive transfers in your FTP client? What's the output of Code: netstat -tap ?
I tried both passive and active, but now i've found out that it might be a local problem. It's only a problem from my home network. The weird thing is that it's the only server i have problems with. 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:10025 *:* LISTEN 22152/master tcp 0 0 *:mysql *:* LISTEN 23540/mysqld tcp 0 0 *:sunrpc *:* LISTEN 1987/portmap tcp 0 0 *:webmin *:* LISTEN 2982/perl tcp 0 0 localhost.localdoma:947 *:* LISTEN 2891/famd tcp 0 0 *:ftp *:* LISTEN 18935/pure-ftpd (SE tcp 0 0 server1.clankamp:domain *:* LISTEN 24448/mydns tcp 0 0 localhost.locald:domain *:* LISTEN 24448/mydns tcp 0 0 *:ssh *:* LISTEN 22333/sshd tcp 0 0 *:telnet *:* LISTEN 22401/inetd tcp 0 0 *:smtp *:* LISTEN 22152/master tcp 0 0 localhost.localdom:smtp localhost.localdo:54771 SYN_RECV - tcp 1 0 localhost.localdom:smtp localhost.localdo:40675 CLOSE_WAIT - tcp 1 0 localhost.localdom:smtp localhost.localdo:40675 CLOSE_WAIT - ... repeated many times... tcp6 0 0 [::]:imaps [::]:* LISTEN 24361/couriertcpd tcp6 0 0 [::]op3s [::]:* LISTEN 24389/couriertcpd tcp6 0 0 [::]op3 [::]:* LISTEN 24372/couriertcpd tcp6 0 0 [::]:imap2 [::]:* LISTEN 24344/couriertcpd tcp6 0 0 [::]:http-alt [::]:* LISTEN 15105/apache2 tcp6 0 0 [::]:www [::]:* LISTEN 15105/apache2 tcp6 0 0 [::]:ftp [::]:* LISTEN 18935/pure-ftpd (SE tcp6 0 0 ip6-localhost:domain [::]:* LISTEN 24448/mydns tcp6 0 0 [::]:ssh [::]:* LISTEN 22333/sshd tcp6 0 0 [::]:https [::]:* LISTEN 15105/apache2 tcp6 0 0 server1.clankamp.:imap2 0x4dd5e135.adsl.c:29475 ESTABLISHED 30105/imapd
When you connect from the local network, do you use the server's local IP address, or its public hostname or public IP?
Ok, then I guess that your router somehow doesn't support loopbacks. Does it work when you use the local IP?
I think you were right, i switched router, and now it isn't a problem any more! Thanks a lot, it's very kind of you Falko, to help newbies like me