第十八篇:防火墙设置.pptVIP

  • 8
  • 0
  • 约6.69千字
  • 约 30页
  • 2017-06-02 发布于湖北
  • 举报
iptables命令参数 iptables命令参数: -p [!]protocol 指定协议 -s [!]address [/mask] 指定源IP地址 -d [!]address [/mask] 指定目标IP地址 -j target 指定跳转目标(动作/自定义规则链) -i [!] name 指定进接口 -o [!] name 指定出接口 --sport port 指定源端口 --dport port 指定目标端口 --sports port[,port[,port...]] 指定多个源端口 --dports port[,port[,port...]] 指定多个目录端口 --ports port[,port[,port...]] 指定多个双向端口 --icmp-type [!] typename 指定icmp类型 --mac-source [!] address 指定源MAC地址 --tcp-flags [!] mask comp 指定TCP协议标志 … iptables命令的使用(一) 查看规则表的内容 基本语法: iptables [-t table] -L [chain] [options] 不指定表名称时查看filter表的内容 #iptables -L 查看指定的规则表 #iptables -t filter -L #ipta

文档评论(0)

1亿VIP精品文档

相关文档