FTP Linux Proftpd Entering Passive Mode and then times out failed to recieve directory listings

view full story

http://serverfault.com – I was making a c# ftp winform interface when ran into problem of connecting with server. it gives error Entering passive mode(xx.xx/// and request times out, i am using debian linux, ftp server is proftpd.Only passive connections are not working active seem to work perfectly, but if user is a behind a firewall so would need passive mode. Things i have already tired: /etc/module already lists ip_conntrack_ftp Added below to proftpd.conf, still didnt work. MasqueradeAddress ftp.mydomain.com # using a DNS name MasqueradeAddress # using an IP address PassivePorts 60000 6 (HowTos)