Linux防火墙

1,392次阅读
没有评论

iptables -A INPUT -p tcp -m state –state NEW -m tcp –dport 80 -j ACCEPT
iptables -A INPUT -p tcp -m state –state NEW -m tcp –dport 443 -j ACCEPT
iptables -A INPUT -p tcp -m state –state NEW -m tcp –dport 22222 -j ACCEPT
iptables -A INPUT -p tcp -m state –state NEW -m tcp –dport 2018 -j ACCEPT

正文完
 0
评论(没有评论)
验证码