标题: linux防火墙封包过滤
作者: 姑娘等等丶 @Ta
时间: 2017-11-10发布,2017-11-10修改
[隐藏样式|查看源码]
『回复列表(6|隐藏机器人聊天)』
Linux所有的防火墙都是基于 iptables 或者 nftables 实现的。
nftables是新标准,但是大家都在用iptables。
所以只要学iptables规则就好。
此外关于 nftables http://m.blog.csdn.net/dog250/article/details/54170683
@姑娘等等丶,推荐你看这个 http://www.linuxidc.com/Linux/2016-09/134832.htm
#!/bin/bash icmp_type="0 3 4 11 12 14 16 18" for typeicmp in $icmp_type do iptables -A INPUT -i eth0 -p icmp --icmp-type $typeicmp -j ACCEPT done
6月29日 16:40 星期天
[首页] [回顶] [Jhin主题]
本站由hu60wap6驱动
备案号: 京ICP备18041936号-1