How can we help?

How to enable flow on your Ubiquiti router -- AuvikFlow (Kentik)


If you're collecting flow from multiple devices sharing the same public IP, you must configure chfagent to send flow to Kentik.

These instructions assume:

Access your router’s CLI

  1. Telnet or SSH into your Ubiquiti router.
  2. Log into your Ubiquiti router and type: configure

Enable Netflow on the listening interface

In this step, we’ll instruct the device to generate flow packets for traffic that hits the ingress (receiving end) of the router’s WAN port.

set system flow-accounting ingress-capture pre-dnat
set system flow-accounting interface eth1
set system flow-accounting sflow agent-address auto

Set up the Netflow sampler

set system flow-accounting sflow sampling-rate 1024

Enable and configure export of Netflow packets to AuvikFlow

set system flow-accounting sflow server port 20013 
set system flow-accounting syslog-facility daemon

Commit and save the changes

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request