Partner links

How to straighten out firewall configuration on Fedora 18

Fedora 18 Firewall-applet

This is the latest article on Fedora. You may access all Fedora-related articles on its category page at http://linuxbsdos.com/category/fedora.

Given that Fedora 18 was released several weeks past its due date, I expected that the extra time would have been used, aside from fixing the show-stopper issue(s), to make sure that basic features work without unnecessary errors.

But that’s not the case.

A simple task, like using the firewall configuration utility, has to be fixed, because the wrong graphical firewall configuration utility was installed. At least that’s what I found on my test system.

On Fedora 18, the new firewall application is called FirewallD. It has its own command-line and graphical utility, but the graphical firewall tool installed belongs to the old firewall application which it replaced.

The installed graphical interface is called system-config-firewall. Any attempt to start it only gives the error window shown below. The graphical interface that should have ben installed out of the box is called firewall-config. That’s FirewallD’s graphical interface.
Fedora 18 Firewall-Config Error

This screen shot, shows all the installed and available firewall applications in the repository. Firewall-applet and firewall-config go with FirewallD, but system-config-firewall does not. It goes with system-config-firewall-base and system-config-firewall-tui. So you have to decide whether you want to use FirewallD or the old firewall application. It’s one or the other, not both.
Fedora 18 Firewall Apper

To fix this, I uninstalled what’s not needed and installed what you need to mess with FirewallD, so that the search result for “firewall” from Apper looks like this:
Fedora 18 Firewall-Config

After installing and starting firewall-applet, here’s a screen shot of the applet on the panel.
Fedora 18 Firewall-applet

And this is that of the main interface of firewall-config. More on firewall-config and firewall-applet in a future tutorial.
Fedora 18 Firewall-config

Note: If you prefer the old firewall application, just uninstall FirewallD and its components, and install system-config-firewall-base and its components.

Share:

Facebook
Twitter
Pinterest
LinkedIn

Partner links

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
17 Comments
Inline Feedbacks
View all comments
Marisa Gunther
9 years ago

Best tutorial for f18!

The firewall it´s working great.

Thank you

Matthew Delaforce
Matthew Delaforce
9 years ago

I have Fedora 17 installed and it installed the Firewalld daemon during the initial clean install, I didn’t think I was installing a beta version either, which some say came with Firewalld, but that the final version of Fedora 17 should not have had Firewalld in it as there was no gui configuration tool at the time.

However there’s still no Firewall-config available to fedora17 users, so I’m stuck until I uninstall firewalld, to revert it to the old firewall setup and use System-config-Firewall.

My other machines have clean installs of Fedora18 and they seem to be complete with Firewalld and the Firewall-config components as expected.

Adam Williamson
9 years ago

firewall-config is listed in the comps groups for MATE, GNOME, KDE, Xfce, LXDE and Cinnamon in F18. I just checked. Consequently it will be included in standard installs of all those desktops. You must have done either an upgrade from F17 (though you would not be automatically switched from iptables to firewalld in that case: you must have done it manually), or a very unusual install of F18, to hit this. The only package group which actually includes system-config-firewall at all is the admin-tools group, which is not selected by default.

Thomas Vander Stichele
9 years ago

Let’s see. You upgraded an older system that had system-config-firewall installed. When you ran it, it told you you have to use a different tool now. This is because the underlying system changed. It tells you what tool as well. So it looks like Fedora did a great job of upgrading your system and telling you what you should do for the new functionality.

And in a clean install (as was mine) it installs the new tool by default, and it works.

I’m not entirely sure what Fedora is doing wrong here. They provided a clear explanation of the migration path. What more could you expect ?

xl-data
9 years ago

What’s the issue? I never use these kind of tools for configs. I’d like to control what’s exactly in the config and the only way to do this is edit manually…

Dharmit
Dharmit
9 years ago

I don’t see this issue. firewall-config is clearly installed on my system.

dominikjames
9 years ago

Good to know about the How to straighten out firewall configuration on Fedora 18

Garth
Garth
9 years ago

I think this was an upgrade from a previous installation, but even at that, it speaks to the thoroughness or lack of FedUp or whatever upgrade script was used.

Because even if this was an upgraded system, the whole point of an upgrade is to upgrade an installation – apps and all.

Zipper
Zipper
Reply to  Garth
9 years ago

Are you saying that if I upgraded a system that was running the old firewall application, that the upgrade script will not install the new script?

Richard Steven Hack
9 years ago

Another example of how the distributors are no longer seriously testing their distros before release. This situation appears to be endemic to the industry now.

jonc
Reply to  Richard Steven Hack
9 years ago

Have you installed F18 to verify the accuracy of this post’s claims?

jonc
9 years ago

Firewall-config was installed here in F18 Gnome and made available in the App Overview. Perhaps it’s an issue with the KDE spin.

Mark
Mark
Reply to  jonc
9 years ago

Another possibility is an upgrade issue if previously system-config-firewall was the norm. I, too, found firewall-config present with a format and clean install of the root partition.

Adam Williamson
Reply to  jonc
9 years ago

I see it listed in KDE comps, so no, looks like it should be fine in KDE too.

webdeveloper
9 years ago

I do have same problem in firewall. I thought I can select both firewall id and old firewall application but after reading that everything become clear to me.

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
17
0
Hya, what do you think? Please comment.x
()
x