mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-05-27 04:46:15 +02:00
Update API.md
This commit is contained in:
parent
ba7e0e465f
commit
82f0e664d7
|
@ -1,5 +1,11 @@
|
|||
### We have API built on top of gRPC framework
|
||||
|
||||
Enable API in configuration file:
|
||||
```bash
|
||||
# Enable gRPC api (required for fastnetmon_api_client tool)
|
||||
enable_api = on
|
||||
```
|
||||
|
||||
You could ban IP:
|
||||
```bash
|
||||
/opt/fastnetmon/fastnetmon_api_client ban 192.168.1.1
|
||||
|
|
Loading…
Reference in New Issue