Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have centos 5.3 installed with squid transparent proxy .
i try to access ftp site through filezilla client but it shows error as Response: 503 Failure of data connection.
Server sent unexpected reply.
Connection closed .
i used Natting in squid server, i allow ftp port 20,21 in squid allow rule in firewall to allow ftp but still same error
First stop squid and try to connect it again, if you can connect then it is a proxy server problem and we will search remedy for it but if it does not connect even squid is stopped then we have to find solution for current conditions.
Try to add this line in your iptables and restart iptables
Code:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 20 -j ACCEPT
the ftp is not created by us , it is given by client and if i connect by removing pc from our network and connecting some dongle directly to the pc then it will be connect , i.e not connecting from our network and i already added -A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 20 -j ACCEPT
It means there is something wrong in your network that is not in individual system (outside your network).
Is there any proxy in your network? can you stop for the test?
If SELinux is disabled, port 21 is defined accepted in iptables, port 21 is opened in administration > firewall
then it should be issue of proxy (I think so).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.