this script will generate routing files for ocserv and iproute2 based on MaxMind's GeoLite2
usage: generate.py [-h] [-i] [-g] [-cc]
optional arguments:
-h, --help show this help message and exit
-i CSV Dir
-g gateway
-cc ISO country code
eg: ./generate.py -i csv/ -cc us -g 192.168.1.1
# add rules
ip -force -batch route.add.txt
# delete rules
ip -force -batch route.del.txt