I would like to know if for an example, i want to block a range of IP address let say 18.104.22.168/16 so the command should be as below:-
iptables -A INPUT -s 22.214.171.124/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 126.96.36.199, in this case, what command should i use since this IP already been blocked in the list???
The administrator has disabled public write access.