Skip to content

The script will ban all IPs which are in countries added to the blacklist.

License

Notifications You must be signed in to change notification settings

tntradio/BlackCountry-TCL-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The script will ban all IPs which are in countries added to the blacklist.
You can add both full name and/or countries shortcut.

ATTENTION: You must have 'package GeoIP' for the script to work.

------------------------------------------------------------------

Scriptul va bana toate IP-urile din țările care se găsesc adăugate in blacklist.
Puteți adăuga atât numele complet, cât și scurtătura țării dorite.

ATENȚIE: Trebuie să aveți "pachetul GeoIP" instalat pentru ca acest script să funcționeze.

------------------------------------------------------------------

cd /usr/share/GeoIP
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
gunzip GeoIP.dat.gz
mv -v GeoIP.dat /usr/share/GeoIP/GeoIP.dat

About

The script will ban all IPs which are in countries added to the blacklist.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Tcl 100.0%