I've been using samplicator for a few years for this, it can be configured to forward based on sender ip/net, but it does not have an API. I'm using it because it's small, simple and does only one thing. https://github.com/sleinen/samplicator //JH On 2021-01-21 15:39, Karsten Thomann via NANOG wrote:
Hi,
I don't know if pmacct has an API for it, but it can replicate netflow and also filter what it is forwarding.
https://github.com/pmacct/pmacct/blob/master/QUICKSTART
Beginning line 2093
Kind regards
Karsten
Am Donnerstag, 21. Januar 2021, 14:31:36 schrieb Drew Weaver:
Good morning everyone,
I am looking for a Netflow collector that can forward flows based on src
ip/src net dst ip/dst net to another collector in either real or near time.
If it can be configured via an API that is even better than having to edit
configuration files.
If anyone has any suggestions I would appreciate it.
Thanks,
-Drew