Instantly share code, notes, and snippets.

View do-subnets.sh
#!/bin/sh
# script will create 2 dirs iprange and subnets
# iprange dir will contain iprange tool
# subnets dir will contain GeoIP subnets files
# install iprange
mkdir iprange
cd iprange
wget https://raw.githubusercontent.com/haproxy/haproxy/master/contrib/iprange/Makefile