Nagaraj Harikar Posted January 18, 2023 Share Posted January 18, 2023 Download the GeoLite2 City or GeoLite2 Country database in .csv format from https://dev.maxmind.com/geoip/geoip2/geolite2/.Copy the file in a Citrix ADC directory (say /var). Unzip the file using the following shell command, which would create a directory with the same name.tar -xf <filename>Download the script Convert_GeoIPDB_To_Netscaler_Format.pl from https://github.com/citrix/MaxMind-GeoIP-Database-Conversion-Citrix-ADC-Format and copy it to the directory created in step #2.To check the acceptable options for the script execution, run the following command:perl Convert_GeoIPDB_To_Netscaler_Format.pl –helpVarious options available are:<filename> IPv4 output file. Default output file name: Netscaler_Maxmind_GeoIP_DB_IPv4.csv-p <filename> IPv6 output file. Default output file name: Netscaler_Maxmind_GeoIP_DB_IPv6.csv-logfile <filename> File containing list of events/messages-debug Prints all the messages to STDOUTRun the following command to convert the GeoLite2 database format to Citrix ADC database format.perl Convert_GeoIPDB_To_Netscaler_Format.plExample:perl Convert_GeoIPDB_To_Netscaler_Format.pl -b GeoLite2-Country-Blocks-IPv4.csv -i GeoLite2-Country-Blocks-IPv6.csv -l GeoLite2-Country-Locations-en.csv Link to comment Share on other sites More sharing options...
Solution Nagaraj Harikar Posted January 18, 2023 Author Solution Share Posted January 18, 2023 For more information : https://docs.citrix.com/en-us/citrix-adc/current-release/global-server-load-balancing/configuring-static-proximity/add-a-location-file-create-static-proximity-db.html#script-to-convert-maxmind-geolite2-database-format-to-citrix-adc-database-format Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now