佛山市顺德区建设局网站,网站建设内容模板下载,免费wordpress云服务,东莞网站开发多少钱说明命令iptables -t 表名 -L查看对应表中的所有规则iptables -t 表名 -L 链名查看表的指定链中的规则iptables -t 表名 -v -L查看对应表中的所有规则 -v显示跟详细的信息iptables -t 表名 -n -L-n 表示不解析IP地址iptables --line-numbers -t 表名 -L–line-numbers 显示规则…说明命令iptables -t 表名 -L查看对应表中的所有规则iptables -t 表名 -L 链名查看表的指定链中的规则iptables -t 表名 -v -L查看对应表中的所有规则 -v显示跟详细的信息iptables -t 表名 -n -L-n 表示不解析IP地址iptables --line-numbers -t 表名 -L–line-numbers 显示规则的序号iptables -t 表名 -v -x -L-x 显示计数器的精确值
禁止固定端口例5500的访问
命令语法iptables -t 表名 -A 链名 匹配条件 -j 动作iptables -t filter -A INPUT -j DROP -p tcp --dport 5500
iptables -t filter -A INPUT -j DROP -p tcp --dport 5000参考https://www.cnblogs.com/kcxg/p/10350870.html