«

您想按国家/地区阻止访客吗?

作者:myluzh 分类: SECURE 长度:2036 阅读:289


goto:

https://www.ip2location.com/free/visitor-blocker

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 MikroTik. Please find the details below:

Format Sample Output
Apache .htaccess allow allow from 8.8.8.0/24
Apache .htaccess deny deny from 8.8.8.0/24
Nginx allow allow 8.8.8.0/24;
Nginx deny deny 8.8.8.0/24;
CIDR 8.8.8.0/24
Linux iptables accept iptables -A INPUT -s 8.8.8.8/24 -j ACCEPT
Linux iptables drop iptables -A INPUT -s 8.8.8.8/24 -j DROP
Netmask 8.8.8.0/255.255.255.0
Inverse Netmask 8.8.8.0 0.0.0.255
Web.config allow ```HTML
``` | | Web.config deny | ```HTML ``` | | Cisco ACL | `deny ip 8.8.8.0 0.0.0.255 any` | | PeerGuardian2 | `HOST:8.8.8.0-8.255.255.255` | | network-object | `network-object 8.8.8.0 255.255.255.0` | | Cisco bit bucket | `ip route 8.8.8.0 255.255.255.0 Null0` | | Juniper Junos | `set 8.8.8.0/24` | | MikroTik | `add address=8.8.8.0/24 comment="Danger" list=MyList` | | ConfigServer Firewall (CSF) | `8.8.8.0/24` |

阻止 拦截 国家 访客


正文到此结束
版权声明:若无特殊注明,本文皆为 Myluzh Blog 原创,转载请保留文章出处。
文章内容:https://itho.cn/secure/342.html
文章标题:《您想按国家/地区阻止访客吗?