From 746bb9c8b404be8ec3b11c57930b31e6803e951a Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sat, 19 Oct 2024 18:40:27 -0600 Subject: [PATCH] Rewrite readme to be more clear on configuration and usage --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0a9f2f2..7f1eb0c 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,9 @@ Generate RouterOS Address Lists based on country code. This can be used for creating up to date geo-ip blocking lists which can be loaded into RouterOS. -```sh -# Example usage -./mikrotik-geoipblock myAddressList example.json -``` +### Create Configuration -Create a config file containing the address lists you want to block +Create a json config file containing the address lists you want to block and a URL for source information. Below is example.json ```json { @@ -24,3 +21,11 @@ Create a config file containing the address lists you want to block } ``` +### Usage + +```sh +# Example usage +./routeros-geoip myAddressList example.json +``` + +