Pure-ftpd: Connection refused when connecting from outside of LAN
I know this isn't strictly an ISPConfig 3 question - but my problem is on a box which is set up according to the The Perfect Server guide for Debian (http://www.howtoforge.com/perfect-se...-ispconfig3-p4) - so I thought I might give it a go posting my question here.
Basically the problem rests in being unable to connect to FTP from outside of my LAN. Yes, I know the first thing I should check is if my ports are open - and they most certainly are! Let me break it down:
1) I can connect fine locally if I use the servers IP directly from other machines on the LAN (also telnet localhost 21 on the server works fine)
2) I can connect to the server fine externally on other ports, such as 80 and 22 (HTTP and SSH)
3) Ports 20 and 21 are open through to my server
But when I try to connect, I get a "Connection Refused" message.
4) I then check to see if pure-ftpd is running - it is. Also, netstat -lnptu gives me:
AFAIK then after setting everything up with the Perfect Server guide then my system isn't using inetd for ftp - so the hosts.allow file shouldn't factor into this - I did add ftpd : ALL : ALLOW to it however to no avail.
And no, I am not trying to access the server from within my lan using the external IP (which could result in a NAT loopback problem if my router doesn't support it... Which I actually don't think it does) - I have been using this service to test with:
So, it looks to me that my Debian box is actively refusing connections on port 21 if it is coming from outside the LAN. What can I do to resolve this?
Have you tried both active and passive transfers in your FTP client?
|All times are GMT +2. The time now is 06:54.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.