1. 网卡配置四种方法:
    a/ 通过配置文件修改 /etc/sysconfig/network-scripts/ifcfg-en0[网卡名称];
    b/ 图形化配置
系统名称 命令
RHEL 5/6 setup
RHEL 7 nmtui

nmtui -Edit a connection -Profile1 -IPV4 configuration
Day11 iptables与firewalld 防火墙
c/ 通过命令:nm-connection-editor,编辑
Day11 iptables与firewalld 防火墙
d/ 在系统右上角网络图标Network setting点开配置,Wired -Add profile -IPV4
Day11 iptables与firewalld 防火墙

  1. 防火墙管理工具
    防火墙策略基于流量的:源目的地址、端口号、协议、应用等信息来定制的,常用的防火墙管理工具为iptables和firewalld(服务)、TCP Wrappers 防火墙访问控制列表。
  2. iptables
    防火墙策略从上至下的顺序来配置策略规则,防火墙设置原则:先允许,再拒绝,或者先拒绝,在允许。Day11 iptables与firewalld 防火墙
    iptables中的服务术语:ACCEPTREJECTDROP,考试时使用REJECT,因为DROP没有反馈。
  3. firewalld
    Day11 iptables与firewalld 防火墙
命令参数 名称
firewall-cmd 命令行配置
firewall-config 图形化配置

Day11 iptables与firewalld 防火墙

  1. TCP Wrappers
  • 版权声明:文章来源于网络采集,版权归原创者所有,均已注明来源,如未注明可能来源未知,如有侵权请联系管理员删除。

发表回复

后才能评论