I need to block all connection on port 30000. I alredy did that , with command like that
iptables -I INPUT ! -s IP_HERE -p tcp --dport 30001 -j DROP
but now i need 2 ips , how i could do that?
That ips , that i need to allow: localhost, and other ip. Lest say one of google.com ips