I have a rule in iptables that looks like this:
DROP all -- 5.158.238.32 anywhere
But I would like to change it to be:
DROP all -- 5.158.0.0/16 anywhere
How do I do this?
I've found info on how you add rules but this seems to append rules to the end of the list and for some reason the rule doesn't take effect unless it's higher up.
I've also found info on editing a file but my distro (debain) doesn't seem to have a file any of the locations mentioned in the articles - is there a file I can edit somewhere?
Any pointers in the right direction would be much appreciated.
Cheers
Ben