Methods of filtering and prohibiting IP address access in China

Source: Internet
Author: User

In order to prevent software from being cracked, it is often necessary to set the IP address of the disabled Chinese area, but many people do not know how to set it.

How to set up IP address access on the Apache host, in fact, is very simple, modify Apache's. htaccess file, add the following statement in the file, you can block the majority of Chinese users access. Of course, this IP filter table some old, some new IP will slip through, you can make some changes.

Of course, most English sites do not require Chinese users, and if you want to prevent Chinese search engines from indexing their sites, you can also use the following statements.

Deny from 61.52
Deny from 61.53
Deny from 61.54
Deny from 61.131
Deny from 61.132
Deny from 61.133
Deny from 61.134
Deny from 61.135
Deny from 61.136
Deny from 61.137
Deny from 61.138
Deny from 61.139
Deny from 61.140
Deny from 61.141
Deny from 61.142
Deny from 61.143
Deny from 61.144
Deny from 61.145
Deny from 61.146
Deny from 61.147
Deny from 61.148
Deny from 61.149
Deny from 61.150
Deny from 61.151
Deny from 61.152
Deny from 61.153
Deny from 61.154
Deny from 61.155
Deny from 61.156
Deny from 61.157
Deny from 61.158
Deny from 61.159
Deny from 61.160
Deny from 61.161
Deny from 61.172
Deny from 61.173
Deny from 61.174
Deny from 61.175
Deny from 61.176
Deny from 202.4.252
Deny from 202.4.253
Deny from 202.4.254
Deny from 202.4.255
Deny from 202.97
Deny from 202.98
Deny from 202.99
Deny from 202.100
Deny from 202.101
Deny from 202.102
Deny from 202.103
Deny from 202.104
Deny from 202.105
Deny from 202.106
Deny from 202.107
Deny from 202.108
Deny from 202.109
Deny from 202.110
Deny from 202.111
Deny from 202.112
Deny from 202.113
Deny from 202.114
Deny from 202.115
Deny from 202.130.224
Deny from 202.130.225
Deny from 202.130.226
Deny from 202.130.227
Deny from 202.130.228
Deny from 202.130.229
Deny from 202.130.245
Deny from 211.81
Deny from 211.82
Deny from 211.90
Deny from 211.91
Deny from 211.102
Deny from 211.149
Deny from 211.150
Deny from 211.151
Deny from 211.152
Deny from 211.153
Deny from 211.154
Deny from 211.155
Deny from 211.156
Deny from 211.157
Deny from 211.158
Deny from 211.159
Deny from 211.160
Deny from 211.161
Deny from 211.162
Deny from 211.163
Deny from 218.5
Deny from 218.21
Deny from 218.28
Deny from 218.29
Deny from 218.71
Deny from 218.72
Deny from 218.73
Deny from 218.74
Deny from 218.75
Deny from 218.76
Deny from 218.77
Deny from 218.78
Deny from 218.79
Deny from 218.80
Deny from 218.81
Deny from 218.82
Deny from 218.83
Deny from 218.84
Deny from 218.242



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.