I’m a happy Comodo firewall user.
I’m just wondering if there is an easy way to prevent incoming connections from some geographic zone, let say, by example, Russia or China.
I mean something like this:
But for the firewall.
It would require multiple entries per country, as multiple address ranges are asigned to each country.
As an example, Djibouti is a smallish African country that is assigned the following address ranges (shown in CIDR format where the last value is the number of bits assigned within the range);
If you want to block, for example, the Russian Federation, you would need to have 5107 entries.
Please note that blocking by country assigned IP address does not take into consideration that a site owned by a resident of country X could easily be hosted on a server in country Y.
OMG, that doesn’t seem “easy” to me. There isn’t an easy way?.
What about this:
Thank you, Ewen.
AFAIK, there isn’t an easier way to do this is CIS.
The article you linked to is pretty interesting - thank for the link. Unfortunately, it is suitable only for Unix systems where you are saetting up a dedicated firewall for a LAN.
the easy way is simply to block all unrequested ingoing attempts anyway!
do you run a server? make the exceptions.
do you use p2p? make the exceptions.
all other unrequested ingoing requests can be blocked by using the stealth port wizard setting 3: “hide me from everyone”.
its so easy
I agree, but the OP was asking about blocking specific geographic regions, not just unsolicited inbound requests.
yes, but as long as the topic opener doesnt run a server, maybe he just didnt realized that (unrequested-)ingoing traffic is not needed at all.
it looked to me as if he was worried about specific traffic, but is not aware that he doesnt have to worry about any such traffic … by just blocking it in the first place.
in the case that he runs a server, and tries to forbid specific traffic, he has to go the “difficult way”.