• Your shopping cart is empty!

Block Visitors by Country Using Firewall

Do you want to block visitors by country?

Select the countries you want to block, IP address version (IPv4 or IPv6), output format and press the "Download" button.

The output formats supported are Apache .htaccess, Linux iptables, CIDR, Netmask, Inverse Netmask, IIS web.config, Cisco ACL, PeerGuardian2, network-object, Cisco bit bucket, Juniper Junos and MicroTik. Please find the details below:

Format Sample Output
Apache .htaccess allow allow from
Apache .htaccess deny deny from
Linux iptables iptables -A INPUT -s -j DROP
Inverse Netmask
Web.config allow <ipSecurity allowUnlisted="false">
<add ipAddress="" subnetMask=""/>
Web.config deny <ipSecurity allowUnlisted="true">
<add ipAddress="" subnetMask=""/>
Cisco ACL deny ip any
PeerGuardian2 HOST:
network-object network-object
Cisco bit bucket ip route Null0
Juniper Junos set
MicroTik add address= comment="Danger" list=MyList

Download List


Unregistered users can generate IP table for 1 country at once. Registered users can generate up to 30 countries in single export.
Register for your free account today.