xt_geoip_fetch(1) | xtables-addons | xt_geoip_fetch(1) |
xt_geoip_fetch — dump a country database to stdout
xt_geoip_fetch [-D database_dir] [-4] [-6] cc [ cc ... ]
xt_geoip_fetch unpacks a country's IPv4 or IPv6 databases and dumps them to standard output as a sorted, non-overlapping list of ranges (which is how they're represented in the database) suitable for browsing or further processing.
Shell command to dump the list of Swiss IPv6 address ranges:
xt_geoip_fetch -D /usr/share/xt_geoip -6 ch
2020-04-30 | xtables-addons |