iptables规则设置

1. 查询规则编号 iptables --line -nvL INPUT 2. 删除指定规则 # 下面的命令可以查看到编号 iptables --line -nvL INPUT # 指定编号,删除规则 iptables -D INPUT 1 3. 设置精准IP/Port策略 # 禁止某个端口的对外
posted @ 2023-02-21 11:55  爱吃蚊子爱子钰  阅读(174)  评论(0编辑  收藏  举报