摘要: 指定单个ip,示例如下: iptables A INPUT s 192.168.2.85 j ACCEPT 指定多个源地址,用“逗号”隔开即可,示例如下: iptables t filter I INPUT s 192.168.2.85,192.168.2.235,192.168.2.102 j D 阅读全文
posted @ 2019-12-16 17:53 尤达uuu 阅读(591) 评论(0) 推荐(0)
摘要: iptables基础: iptables的5条链分别是: prerouting 路由前 input 发到本机进程的报文 ouput 本机某进程发出的报文 forword 转发 postrouting 路由后 iptables的4张表: filter 负责过滤工程,防火墙; 内核模块:iptables 阅读全文
posted @ 2019-12-16 16:25 尤达uuu 阅读(3558) 评论(0) 推荐(0)