Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 12-06-2005, 06:16 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
How to enable Active FTP in system-config-securitylevel


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?

Old 12-06-2005, 10:53 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.
Old 12-09-2005, 08:19 AM   #3
Registered: Jun 2005
Posts: 88

Rep: Reputation: 15

i can't answer your question but its more asking for myself as i have ftp connection problems.

i uses RH 9, How do u allow ftp in :system-config-securitylevel.....what line do u add?

pls advise
Old 12-09-2005, 08:26 AM   #4
LQ Newbie
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0

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).

Old 12-09-2005, 08:42 AM   #5
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If you haven't managed to get it working right yet, you can try the following,
#chkconfig vsftpd on
#service vsftpd start
Make sure that your firewall is configured to allow ftp and that your ethernet card is selected as a trusted device.
Old 12-12-2005, 03:39 AM   #6
LQ Newbie
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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!)

Thank you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
system-config-securitylevel mnauta Fedora 2 11-20-2004 04:45 PM
iptables defaults set by system-config-securitylevel: why are ports 50 and 51 opened? meonkeys Fedora 1 09-23-2004 11:41 AM
Set up dcc and timeserver with system-config-securitylevel fedetxf Fedora 0 08-17-2004 07:34 PM
redhat-config-securitylevel and SAMBA chromedog Programming 0 05-02-2004 04:48 PM
redhat-config-securitylevel, cannot specify other ports? nsong Linux - Software 2 03-10-2004 08:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration