Skip to content

iiiiiii1/Block-IPs-from-countries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 

Repository files navigation

Linux VPS一键屏蔽指定国家所有的IP访问

本脚本适用于CentOSDebianUbuntu等常用系统。

使用root运行以下命令:

wget https://raw.githubusercontent.com/iiiiiii1/Block-IPs-from-countries/master/block-ips.sh
chmod +x block-ips.sh
./block-ips.sh

封禁ip时会要求你输入国家代码,代码查看:点击进入。记住所需输入的参数均为小写字母。比如JAPAN (JP),我们就使用jp这个参数。

详细说明:https://www.moerats.com/archives/585/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages