How to drop all subnets outside of the US using iptables
- by Jim
I want to block all subnets outside the US. I've made a script that has all of the US subnets in it. I want to disallow or DROP all but my list. Can someone give me an example of how I can start by denying everything?
This is the output from -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- …