How to Install system-config-firewall package on RHEL 6

Share this Article :

In this post, i will show oh how to install system-config-firewall package on Red Hat Enterprise Linux 6 (RHEL 6). The system-config-firewall packages contain a graphical user interface for basic firewall setup.

If the system does not install with system-config-firewall package, you will get this error message :

[[email protected] ~]# system-config-firewall
-bash: /usr/bin/system-config-firewall: No such file or directory

How to Setup Local Yum Repository from CD-ROM/DVD-ROM image on RHEL 6

To install system-config-firewall package, simply run this command :

[[email protected] ~]# yum install system-config-firewall -y
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package system-config-firewall.noarch 0:1.2.27-1.el6 set to be updated
--> Processing Dependency: python-slip-dbus >= 0.2.7 for package: system-config-firewall-1.2.27-1.el6.noarch
--> Processing Dependency: pygtk2-libglade for package: system-config-firewall-1.2.27-1.el6.noarch
--> Processing Dependency: pygtk2 for package: system-config-firewall-1.2.27-1.el6.noarch
--> Running transaction check
---> Package pygtk2.i686 0:2.16.0-3.el6 set to be updated
---> Package pygtk2-libglade.i686 0:2.16.0-3.el6 set to be updated
--> Processing Dependency: for package: pygtk2-libglade-2.16.0-3.el6.i686
---> Package python-slip-dbus.noarch 0:0.2.11-1.el6 set to be updated
--> Processing Dependency: python-slip = 0.2.11-1.el6 for package: python-slip-dbus-0.2.11-1.el6.noarch
--> Processing Dependency: python-decorator for package: python-slip-dbus-0.2.11-1.el6.noarch
--> Running transaction check
---> Package libglade2.i686 0:2.6.4-3.1.el6 set to be updated
--> Processing Dependency: xml-common for package: libglade2-2.6.4-3.1.el6.i686
---> Package python-decorator.noarch 0:3.0.1-3.1.el6 set to be updated
---> Package python-slip.noarch 0:0.2.11-1.el6 set to be updated
--> Processing Dependency: libselinux-python for package: python-slip-0.2.11-1.el6.noarch
--> Running transaction check
---> Package libselinux-python.i686 0:2.0.94-2.el6 set to be updated
---> Package xml-common.noarch 0:0.6.3-32.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

 Package                       Arch          Version              Repository                   Size
 system-config-firewall        noarch        1.2.27-1.el6         DVD-RHEL6-Repository        118 k
Installing for dependencies:
 libglade2                     i686          2.6.4-3.1.el6        DVD-RHEL6-Repository         60 k
 libselinux-python             i686          2.0.94-2.el6         DVD-RHEL6-Repository        197 k
 pygtk2                        i686          2.16.0-3.el6         DVD-RHEL6-Repository        925 k
 pygtk2-libglade               i686          2.16.0-3.el6         DVD-RHEL6-Repository         22 k
 python-decorator              noarch        3.0.1-3.1.el6        DVD-RHEL6-Repository         14 k
 python-slip                   noarch        0.2.11-1.el6         DVD-RHEL6-Repository         26 k
 python-slip-dbus              noarch        0.2.11-1.el6         DVD-RHEL6-Repository         28 k
 xml-common                    noarch        0.6.3-32.el6         DVD-RHEL6-Repository        9.4 k

Transaction Summary
Install       9 Package(s)
Upgrade       0 Package(s)

Total download size: 1.4 M
Installed size: 5.2 M
Downloading Packages:
Total                                                               4.6 MB/s | 1.4 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : pygtk2-2.16.0-3.el6.i686                                                     1/9
  Installing     : python-decorator-3.0.1-3.1.el6.noarch                                        2/9
  Installing     : xml-common-0.6.3-32.el6.noarch                                               3/9
  Installing     : libglade2-2.6.4-3.1.el6.i686                                                 4/9
  Installing     : pygtk2-libglade-2.16.0-3.el6.i686                                            5/9
  Installing     : libselinux-python-2.0.94-2.el6.i686                                          6/9
  Installing     : python-slip-0.2.11-1.el6.noarch                                              7/9
  Installing     : python-slip-dbus-0.2.11-1.el6.noarch                                         8/9
  Installing     : system-config-firewall-1.2.27-1.el6.noarch                                   9/9

  system-config-firewall.noarch 0:1.2.27-1.el6

Dependency Installed:
  libglade2.i686 0:2.6.4-3.1.el6                    libselinux-python.i686 0:2.0.94-2.el6
  pygtk2.i686 0:2.16.0-3.el6                        pygtk2-libglade.i686 0:2.16.0-3.el6
  python-decorator.noarch 0:3.0.1-3.1.el6           python-slip.noarch 0:0.2.11-1.el6
  python-slip-dbus.noarch 0:0.2.11-1.el6            xml-common.noarch 0:0.6.3-32.el6


To run GUI option for system-config-firewall package, please execute the following command :

[[email protected] ~]# system-config-firewall


The system-config-firewall package tool only configures a basic firewall. If the system needs more complex rules and policies, you need Iptables setting.

Leave a Reply