Linux防火墙添加端口号

iptables -I INPUT 4 -p tcp -m state --state NEW -m tcp --dport 8080(端口号自定) -j ACCEPT service iptables save

posted @ 2020-03-12 15:33  一剑天门  阅读(743)  评论(0编辑  收藏  举报