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
正文完
发表至: *NIX相关
2019-03-29