Current version of FastNetMon Community includes basic command line interface and gRPC based API.

If you’re looking for complete API you may consider our commercial edition FastNetMon Advanced which includes REST based HTTP API for all operations.

Enable API in configuration file /etc/fastnetmon.conf:

enable_api = on

You could ban IP this way:

/opt/fastnetmon/fastnetmon_api_client ban

You could unban IP this way:

/opt/fastnetmon/fastnetmon_api_client unban

You could check list of blocked hosts this way:

/opt/fastnetmon/fastnetmon_api_client get_banlist

Sample output:

24/7 Tech Support

Email Us