change iptable for elasticsearch

iptables -A INPUT -p tcp -s localhost --dport 9200 -j ACCEPT
iptables -A INPUT -p tcp --dport 9200 -s 80.11.189.223 -j ACCEPT
iptables -A INPUT -p tcp --dport 9200 -j DROP

评论

热门博文