I would like to know if for an example, i want to block a range of IP address let say 126.96.36.199/16 so the command should be as below:-
iptables -A INPUT -s 188.8.131.52/255.255.0.0 -j DROP
Now my question is, how about if i want to ONLY allow certain IP address from the above range? What command should I use? Let say I want to ALLOW IP 184.108.40.206, in this case, what command should i use since this IP already been blocked in the list???