If you are new to Fedora, or if you are now returning to Fedora from a long haitus (since Fedora 9 for me), Fedora 13 has been a welcoming experience. Not only has it reached near-Ubuntu-like levels of user-friendliness, it includes some of the best tools around for certain jobs. One of those tools is the Firewall tool. For Fedora 13 the firewalling tool is system-config-firewall, release 1.2.25. But what is system-config-firewall? To put it simply, this tool is a graphical means of creating firewall rules for your Fedora installation. Now, don't think this tool is new to Fedora 13 - it's not. But it is installed by default and actually makes creating a firewall quite easy, even for new users.
In this article I will introduce you to the Fedora firewall tool and show you how to secure your Linux distribution quickly and reliably.
Two ways to success
There are two ways to configure the firewall tool to meet your needs. The first method is manually. You can decide what to leave open and what to close up. The other method is with the help of a very easy to use Wizard. What these choices do is allow the system to be useful for both new and seasoned users alike.
What I really like about this tool is that it doesn't take anything for granted. It allows you decide what interfaces, services, ports are all trusted; it allows you to create your own custom rules, do port forwarding, and masquerading. This tool is pretty fantastic and will keep your desktop secure. Now, let's see how this thing works.
The Wizard is where every new user should start. But before you get to the Wizard you actually have to start the tool. To do this click System > Administration > Firewall and the main window will open. From this main window click on the Wizard button to begin the process of creating your firewall.
The steps of the Wizard are as follows:
Step 1: Welcome screen (just click Foward).
Step 2: Select the system you ahve (System with Network access or system without network access).
Step 3: User skill level (Beginner or Expert).
Step 4: Configuration (Desktop or Server).
After you have completed the Wizard click the Apply button on the main window to complete the process. This will clear your current firewall and apply the settings the Wizard has created. Only problem? The wizard really didn't do much as far as customization for your needs. In order to really customize your firewall you have to step outside the boundaries of the wizard. Let's do that.
If you look at the main window you can see there is a number of options you can select. If you find the only option in the left pane that is available is Trusted Services, that means you have selected Beginner level. In order to access the other features (Other Ports, Trusted Interfaces, etc) you will have to set yourself up as an Expert by clicking Options > User Skill Level > Expert. Once you have done that all the other options will be available.
At this point you simply need to walk through all of the possible options and select the following:
Once you have made any changes make sure you click the Apply button in order to apply the changes.
That's pretty much the gist of the Fedora Firewall tool. We will take this further soon with an article on creating your own customized rules with this tool. Until then, enjoy hardening your Fedora box with this easy to use firewall tool.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.