LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-27-2005, 07:20 PM   #1
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Rep: Reputation: 30
Fedora Firewall?


When I installed Fedora, it asked me what ports I would like to open. I am familiar with the GNOME config utility to configure this firewall, however, this time I did not install GNOME. Does anyone know how to configure this firewall via either a text file, or command line?
 
Old 06-27-2005, 08:28 PM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
see 'man iptables'
 
Old 06-27-2005, 08:40 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 63
Goto Start Menu > System Settings > Security Level. It is very crude but will work for most items. better to use a firewall scripting tool. Many out there to choose from. I myself prefer to write it myself.

Brian1
 
Old 06-27-2005, 11:30 PM   #4
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Original Poster
Rep: Reputation: 30
I know how to change it using GNOME, I am trying to change the Fedora firewall settings on a computer that does not have GNOME installed.
 
Old 06-28-2005, 06:02 AM   #5
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
The Linux firewall is named iptables (unless you run an old kernel).
It can be manipulated via the iptables program.
Try 'iptables -L' to list all the rules.
See the man page for more details, or read http://www.linuxguruz.com/iptables/howto/
 
Old 06-28-2005, 09:01 AM   #6
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
You may also do it this way

Edit the file "/etc/sysconfig/iptables"
then run "/etc/init.d/iptables restart" To apply the changes.

A cheating way is to install webmin and use that to do it for you! Its a pretty useful tool that can be used remotely via the web browser.
 
Old 06-28-2005, 09:09 AM   #7
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Original Poster
Rep: Reputation: 30
Yeah, I use webmin alot, lol. Thanks for the help.
 
Old 06-28-2005, 09:14 AM   #8
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
A cheating way is to install webmin and use that to do it for you! Its a pretty useful tool that can be used remotely via the web browser.
Webmin can be used to edit the firewall rules very easily. have a look at http://www.webmin.com/screens.html for some screenshots.
WARNING! If you use Webmin to manage the firewall, don't forget to open port 10000, which is used to connect to Webmin.
 
Old 06-28-2005, 09:15 AM   #9
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Original Poster
Rep: Reputation: 30
Yep, I got it.. thanks though.
 
  


Reply


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
Fedora 4 firewall byte_fx Fedora 4 10-19-2005 01:47 PM
Fedora Firewall? little_penguin Fedora 4 07-28-2005 08:25 PM
Fedora Firewall crofty13 Linux - Software 1 06-06-2005 06:32 AM
fedora firewall zchoyt Linux - General 3 09-07-2004 07:31 PM
fedora firewall wynter919 Fedora 1 12-29-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:28 AM.

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