1 system-config-firewall 图形化配置命令

centos6系列版本防火墙图形化设置第一步是选择信任的服务(trusted service):

常用的服务有:DNS(53)  ftp(21) imap(993) ipsec(/ah /esp 00/udp) mail(smtp 25)  

multicast dns(5353)  NFS4(2049/tcp)   openvpn(1194/udp) pop-3 over ssl (995)  

RADIUS(1812/udp,1813/udp) samba(139/tcp.445/tcp)  sambaclient (137/udp,138/udp)

secure www(https  443tcp)  ssh(22/tcp)    tftp(69/udp)     tftp client     www(http  80/tcp)

第二步选择开放的端口

centos6系列版本防火墙图形化设置

第三步选择trusted interface

centos6系列版本防火墙图形化设置

第四步就是Masquerading(ip伪装)

第五步就是port forwarding

第六步就是icmp filter(对icmp type 类型的服务过滤掉):

ICMP TYPE类型有:Destination Unreachable   echo reply(pong)   echo request(ping)  

parameter problem    redirect   router advertisement   router solicitation  source quench 

time exceeded

centos6系列版本防火墙图形化设置

比如我勾选了Echo Request(ping),就是禁ping,如下:

centos6系列版本防火墙图形化设置

最后一步就是custom rules,可以自定义一些规则

 

相关文章:

  • 2021-04-20
  • 2021-10-17
  • 2022-01-06
  • 2021-09-01
  • 2021-11-30
  • 2021-11-11
  • 2021-10-21
  • 2022-02-08
猜你喜欢
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-08-11
  • 2021-05-11
  • 2021-04-03
相关资源
相似解决方案