diff --git a/config/geoip.cfg b/config/geoip.cfg index 50d2b27f..745daf5d 100644 --- a/config/geoip.cfg +++ b/config/geoip.cfg @@ -2,18 +2,19 @@ // =========== // WARNING: You can NOT use CubeScript in here!! -// The following schemes are accepted... +// IP addresses (https://en.wikipedia.org/wiki/IP_address) are accepted as IPv4 dot decimal or decimal (e.g. https://dnschecker.org/ip-to-decimal.php) +// CountryCodes (CC) are ISO 3166-1 alpha-2 (https://www.iban.com/country-codes) which reserves XA–XZ for USER ASSIGNED CODE ELEMENTS - we use XH for HOME/LAN +// Check source/tools/ for scripts to convert geoip lists from various free sources +// Examples: // 1.2.3.4 CC // 1.2.3.4/24 CC // 1.2.3.4 - 2.3.4.5 CC -// 38273024 CC -// 38273024/24 CC -// 38273024-38797311 CC -// (with CC being ISO 3166-1 alpha-2 country codes) -// -// check source/tools/ for scripts to convert geoip lists from various free sources -// - +// 16909060 CC +// 16909060/24 CC +// 16909060-33752069 CC 192.168.0.0/16 XH // home +172.16.0.0/12 XI // home too +10.0.0.0/8 XJ // big home +