config_edit_country_blocking
This is an old revision of the document!
Edit Country Blocking
File: c:\mystic\data\iplocation.txt ; MASTER COUNTRY LOOKUP/BLOCK LIST░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ; ; To block a country, change the first letter from "A" to "B" to block all ; connections from that country. ; ; Be very careful not to mangle the layout of this file. Each line must ; have either an A or B on the line, followed by 2 letter ISO 3166-1 country ; code followed by the country name. They must all be separated by two spaces ; ; IP Database must be named "iplocation.bin" in the DATA directory and is a ; free "IP2Location LITE IP-COUNTRY Database" in the "IPV6 BIN" format, which ; can be downloaded from: ; ; lite.ip2location.com/database/ip-country ; ; Download the proper ZIP and store the ".bin" file contained in the archive ; in your DATA directorty as "iplocation.bin". An example of the proper ; database filename to download is "IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP" A AD Andorra A AE United Arab Emirates Press ESCAPE for Menu Line 1 of 268
To enable this feature, you must configure it on a per-server basis in the servers configuration. In the example below a TELNET server has Country Blocking enabled.
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Server TELNET ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ █ █ Active │ Yes █ █ ID │ TELNET █ █ Adapter Type │ IPV4+IPV6 █ █ IPV4 Adapter │ 0.0.0.0 █ █ IPV6 Adapter │ :: █ █ Port │ 23 █ █ Max Allowed │ 5 █ █ Auto IP Ban │ 4 in 120 secs █ █ Country Block │ Yes █ █ Send Blocked │ No █ █ Dupe IP Limit │ 1 █ █ █ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
config_edit_country_blocking.1515313409.txt.gz · Last modified: 2018/01/07 02:23 by avon