10 2014 档案

摘要:1.iptables服务重启 service iptables restart2.保存iptables规则 iptables-save > ~/iptables.save3.恢复iptables规则 iptables-restore < ~/iptables.save 阅读全文
posted @ 2014-10-16 11:01 drop * 阅读(673) 评论(0) 推荐(0)
摘要:iptables调试时,使用到raw表、ipt_LOG内核模块、日志记录在kern.log中。具体的步骤如下:1.准备ipt_LOG内核模块 modprobe ipt_LOG2.使用raw表,加入跟踪规则 iptables -t raw -A PREROUTING -p icmp... 阅读全文
posted @ 2014-10-15 15:39 drop * 阅读(2206) 评论(0) 推荐(0)