What Is the Linux Lokkit Utility? https://www.lifewire.com/what-is-lokkit-2192255
lokkit: The Lokkit utility attempts to provide firewalling for the average Linux end user. Instead of configuring firewall rules, Lokkit asks asmall number of simple questions and writes a firewall rule set for you. Lokkit is not designed to configure arbitrary firewalls. To make it simple to understand, it is solely designed to handle typical dialup user and cable modem setups. It will not provide a complex firewall configuration, and it is not the equal of an expert firewall designer.
[root@localhost ~]# yum install lokkit 已加载插件:fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.sohu.com * updates: mirrors.aliyun.com 正在解决依赖关系 --> 正在检查事务 ---> 软件包 system-config-firewall-base.noarch.0.1.2.29-10.el7 将被 安装 --> 正在处理依赖关系 iptables-ipv6,它被软件包 system-config-firewall-base-1.2.29-10.el7.noarch 需要 --> 正在检查事务 ---> 软件包 iptables-services.x86_64.0.1.4.21-24.1.el7_5 将被 安装 --> 正在处理依赖关系 iptables = 1.4.21-24.1.el7_5,它被软件包 iptables-services-1.4.21-24.1.el7_5.x86_64 需要 --> 正在检查事务 ---> 软件包 iptables.x86_64.0.1.4.21-17.el7 将被 升级 ---> 软件包 iptables.x86_64.0.1.4.21-24.1.el7_5 将被 更新 --> 解决依赖关系完成 依赖关系解决 ==================================================================================================================================================================================================================================================================== Package 架构 版本 源 大小 ==================================================================================================================================================================================================================================================================== 正在安装: system-config-firewall-base noarch 1.2.29-10.el7 base 414 k 为依赖而安装: iptables-services x86_64 1.4.21-24.1.el7_5 updates 51 k 为依赖而更新: iptables x86_64 1.4.21-24.1.el7_5 updates 432 k 事务概要 ==================================================================================================================================================================================================================================================================== 安装 1 软件包 (+1 依赖软件包) 升级 ( 1 依赖软件包) 总下载量:897 k Is this ok [y/d/N]: y Downloading packages: updates/7/x86_64/prestodelta | 180 kB 00:00:00 (1/3): iptables-1.4.21-24.1.el7_5.x86_64.rpm | 432 kB 00:00:00 (2/3): iptables-services-1.4.21-24.1.el7_5.x86_64.rpm | 51 kB 00:00:00 (3/3): system-config-firewall-base-1.2.29-10.el7.noarch.rpm | 414 kB 00:00:00 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 总计 1.1 MB/s | 897 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction 正在更新 : iptables-1.4.21-24.1.el7_5.x86_64 1/4 正在安装 : iptables-services-1.4.21-24.1.el7_5.x86_64 2/4 正在安装 : system-config-firewall-base-1.2.29-10.el7.noarch 3/4 清理 : iptables-1.4.21-17.el7.x86_64 4/4 验证中 : iptables-services-1.4.21-24.1.el7_5.x86_64 1/4 验证中 : iptables-1.4.21-24.1.el7_5.x86_64 2/4 验证中 : system-config-firewall-base-1.2.29-10.el7.noarch 3/4 验证中 : iptables-1.4.21-17.el7.x86_64 4/4 已安装: system-config-firewall-base.noarch 0:1.2.29-10.el7 作为依赖被安装: iptables-services.x86_64 0:1.4.21-24.1.el7_5 作为依赖被升级: iptables.x86_64 0:1.4.21-24.1.el7_5 完毕! [root@localhost ~]#