摘要: 1、#查看iptables iptables -L -n --line-numbers 2、#在tcp协议中,禁止所有的ip访问本机的9092端口,(执行命令的本机也会禁止) iptables -I INPUT -p tcp --dport 9092 -j DROP 3、#允许10.10.5.1访问 阅读全文
posted @ 2022-01-25 10:51 TimeSay 阅读(197) 评论(0) 推荐(0) 编辑