{"id":2324,"date":"2012-05-11T23:08:02","date_gmt":"2012-05-11T15:08:02","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=2324"},"modified":"2023-04-28T09:49:19","modified_gmt":"2023-04-28T09:49:19","slug":"how-to-install-system-config-firewall-tui-on-linux-centos-6-2-server","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-system-config-firewall-tui-on-linux-centos-6-2-server\/","title":{"rendered":"How to Install system-config-firewall-tui on Linux CentOS 6.2 Server"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>system-config-firewall-tui is a tool used in CentOS 6.2 to configure the firewall settings through a text-based interface. It is a useful utility for server administrators who prefer a command-line interface for managing firewall settings. In this guide, we will show you how to install system-config-firewall-tui on a Linux CentOS 6.2 server.<\/p>\n<h2>Step 1: Enable EPEL repository<\/h2>\n<p>The first step is to enable the EPEL repository. EPEL is an additional repository that provides access to additional software packages for CentOS.<\/p>\n<p>You can enable EPEL repository by running the following command:<\/p>\n<pre>\r\nsudo yum install epel-release\r\n<\/pre>\n<p>This will download and install the EPEL repository configuration.<\/p>\n<h2>Step 2: Install system-config-firewall-tui<\/h2>\n<p>After enabling the EPEL repository, you can install system-config-firewall-tui by running the following command:<\/p>\n<pre>\r\nsudo yum install system-config-firewall-tui\r\n<\/pre>\n<p>This will download and install the system-config-firewall-tui package and its dependencies.<\/p>\n<pre>\r\n[root@centos62 ~]# yum install system-config-firewall-tui -y\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: mirrors.hostemo.com\r\n * epel: ftp.cuhk.edu.hk\r\n * extras: mirrors.hostemo.com\r\n * updates: mirrors.hostemo.com\r\nCentOS6.2-Repository                                                         | 4.0 kB     00:00 ...\r\nSetting up Install Process\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package system-config-firewall-tui.noarch 0:1.2.27-5.el6 will be installed\r\n--> Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n====================================================================================================\r\n Package                          Arch         Version             Repository                  Size\r\n====================================================================================================\r\nInstalling:\r\n system-config-firewall-tui       noarch       1.2.27-5.el6        CentOS6.2-Repository        37 k\r\n\r\nTransaction Summary\r\n====================================================================================================\r\nInstall       1 Package(s)\r\n\r\nTotal download size: 37 k\r\nInstalled size: 59 k\r\nDownloading Packages:\r\nRunning rpm_check_debug\r\nRunning Transaction Test\r\nTransaction Test Succeeded\r\nRunning Transaction\r\n  Installing : system-config-firewall-tui-1.2.27-5.el6.noarch                                   1\/1\r\n\r\nInstalled:\r\n  system-config-firewall-tui.noarch 0:1.2.27-5.el6\r\n\r\nComplete!\r\n<\/pre>\n<h2>Step 3: Start system-config-firewall-tui<\/h2>\n<p>After installing system-config-firewall-tui, you can start the tool by running the following command:<\/p>\n<pre>\r\nsudo system-config-firewall-tui\r\n<\/pre>\n<p>This will open the text-based interface for configuring the firewall settings.<\/p>\n<h2>Step 4: Configure firewall settings<\/h2>\n<p>Once you have started system-config-firewall-tui, you can use the text-based interface to configure the firewall settings.<\/p>\n<p><img decoding=\"async\" alt=\"system-config-firewall-tui\" data-src=\"http:\/\/3.bp.blogspot.com\/-3imioj476cU\/T2NWKl2LYRI\/AAAAAAAACBU\/qGctv2CpaYk\/s1600\/firewall-tui.PNG\" title=\"system-config-firewall-tui\" class=\"alignnone lazyload\" width=\"427\" height=\"273\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 427px; --smush-placeholder-aspect-ratio: 427\/273;\" \/><\/p>\n<p>Use the arrow keys to navigate the menu and the spacebar to select options.<\/p>\n<p>Once you have made your changes, select &#8220;OK&#8221; to save the changes and exit the tool.<\/p>\n<p>Restart iptables using this command:<\/p>\n<pre>\r\n[root@centos62 ~]# service iptables restart\r\n<\/pre>\n<p>or<\/p>\n<pre>\r\n[root@centos62 ~]# \/etc\/init.d\/iptables restart\r\n<\/pre>\n<h2>Commands Mentioned:<\/h2>\n<ul>\n<li><span class=\"fw-bold\">yum install<\/span> &#8211; installs packages<\/li>\n<li><span class=\"fw-bold\">sudo<\/span> &#8211; runs a command with root privileges<\/li>\n<li><span class=\"fw-bold\">system-config-firewall-tui<\/span> &#8211; starts system-config-firewall-tui tool<\/li>\n<\/ul>\n<h2>Conclusion:<\/h2>\n<p>In this guide, we have shown you how to install system-config-firewall-tui on a Linux CentOS 6.2 server. This tool provides a text-based interface for configuring the firewall settings, which can be useful for server administrators who prefer a command-line interface. Remember to start the tool with root privileges and save changes before exiting the tool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: system-config-firewall-tui is a tool used in CentOS 6.2 to configure the firewall settings through a text-based interface. It is a useful utility for server administrators who prefer a command-line&#8230;<\/p>\n","protected":false},"author":6,"featured_media":1312,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055,1011],"tags":[1244,1253,2089,1377,1519,1536,1596],"class_list":["post-2324","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-network","tag-centos","tag-centos-6-2","tag-configuration","tag-firewall","tag-iptables","tag-linux","tag-network"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=2324"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2324\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/1312"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=2324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=2324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=2324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}