FTP Issue behind Centos 6 Firewall
I have installed Centos 6 on my server which is acting as a Proxy Server and Firewall for my network. Everything is running smooth and fine. But i am getting a very weird issue now. The issue is:
When i connect with a remote ftp server from a client machine which is behind this Centos 6 firewall, i successfully connect with the ftp. But when i am trying to download or view/edit a file, ftp stuck in middle of the process. In first sight, it seems like remote ftp server is mis-configured. But when i connect with this remote ftp with public ip, i am successfully downloading and view/edit the files. So now it means there is something wrong with the Centos6 server which is acting as a firewall in middle of the ftp connection from client to server. Both Incoming and Outgoing connection for ftp is allowed on firewall [using iptables] and squid proxy is already configured with allow ftp acl.
I dont know what is wrong with the Centos 6 server. This problem has occurred many time before and it automatically resolved and few times when i entered below commands it started working:
But now these commands are not able to resolve my issue.
Please help. If you need some other information, you can ask me.