This code can block domestic IP. Of course, by changing the IP library address (cn.zone file), you can block specific IPs and IP segments. 1. Block Chinese IP Then, execute: 2. Unblock Chinese IP Then, execute: via: https://www.lowendtalk.com/discussion/141800/blocking-attack-ips-ddos-ips-from-china 3. Further optimized script <br />This script is based on the IP segment provided by ipdeny.com. The above script can add and delete IP segments accurately and in real time, and each has its own advantages and disadvantages. 2. Use Here we take China as an example. If you want to block other countries, please modify the last code parameter yourself.Adding rules Start blocking List of blocked countries Unblock For other country codes, please visit: http://www.ipdeny.com/ipblocks via: https://lolico.moe/projects/block-countries-ips.html |
<<: Hostsolutions: €1.99/month/2GB memory/30GB space/30TB traffic/OpenVZ/Romania/No copyright
>>: 5wire: £4.5/month/1GB RAM/10GB SSD space/unlimited traffic/KVM/UK
HiFormance, an American hosting provider located ...
Dead Sea Network, a Chinese business, is newly es...
AuroraCloud, a Chinese business, currently mainly...
ServersSoft, a foreign hosting provider, was esta...
WINNERvps, which has been introduced before, is a...
BandwagonHost, an American hosting provider, has ...
Previously, we introduced their dedicated server ...
HOSTBD24, one of the models is now available at a...
PDQServer, a business established in early 2018, ...
Gestion DBI, stable merchant, and excellent servi...
Virtua.cloud, a foreign merchant, has its own AS ...
Hosting details: http://www.eleven2.com/shared-ho...
Sharktech, a long-established American hosting pr...
Aurora KVM, a Chinese host manufacturer, was intr...
ION is a new sub-brand of the old merchant Krypt,...