Rewrite readme to be more clear on configuration and usage
This commit is contained in:
parent
bd4bd56c3d
commit
746bb9c8b4
15
README.md
15
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.
|
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
|
### Create Configuration
|
||||||
# Example usage
|
|
||||||
./mikrotik-geoipblock myAddressList example.json
|
|
||||||
```
|
|
||||||
|
|
||||||
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
|
```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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user