Allow more than one ip through specific port ?
I can allow only one ip through specific port like the below way :
iptables -I INPUT \! --src 192.168.0.1 -m tcp -p tcp --dport 3000 -j DROP
But Now If I want to do the above restriction for more than one IP (like, 0.1, .0.2, 0.3) and reject all other ip , then how can I write the above rules .
Plz help ... ...