How to enable Active FTP in system-config-securitylevel
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.
How to enable Active FTP in system-config-securitylevel
Hi,
I've just started playing with my first dedicated server. I bought it so that I can host a Public FTP site on it. I started VSFTPD and used system-config-securitylevel to allow FTP. And all works well!
But Internet Explorer wont log in. It gives the message "An error ocurred opening that folder on the FTP server. Make sure you have permission to open that folder. Details: The server name or address could not be resolved".
I tried disabling the server firewall in system-config-securitylevel and then IE can log in fine.
I understand that IE uses Active FTP and hence cannot get through the firewall.
Is there any way of setting up the Linux firewall so that Internet Explorer can connect?
During active FTP, the server connects back to your client machine to transfer the data, therefore you have to modify the firewall on your client machine to do so. Are you sure you don't mean passive FTP? I posted something about that recently in the network forum that you might want to take a look at (the search function should find it easily). I haven't used IE for FTP in years, but I was pretty sure it supported passive FTP. Active FTP makes a back connection from port 20 (ftp-data) on the server to some random port on the client machine. As long as that's enabled, you'd be set.
I executed system-config-securitylevel and went to custom. In custom there is an option to enable FTP. I thought it only enables Active FTP, but now it turns out that it only enables Passive FTP (I had it the wrong way round).
Well that was embarrissing... all I had to do was enable my ethernet card as a trusted device in system-config-securitylevel and presto ... it now accepts both Active and Passive FTP. (all that after reading a days worth of articles on IPtables!)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.