Skip to content

Instantly share code, notes, and snippets.

@fnzv
Created August 27, 2018 09:17
Show Gist options
  • Save fnzv/29c94d9b0bc25601a54b22c532a22fe6 to your computer and use it in GitHub Desktop.
Save fnzv/29c94d9b0bc25601a54b22c532a22fe6 to your computer and use it in GitHub Desktop.
Install Netflow module Linux
cd /tmp && git clone git://github.com/aabc/ipt-netflow.git ipt-netflow && cd ipt-netflow/
apt-get -y install module-assistant
m-a prepare
./configure && make all install
depmod
modprobe ipt_NETFLOW destination={YOUR NETFLOW COLLETOR}:9995
iptables -I FORWARD -j NETFLOW
iptables -I INPUT -j NETFLOW
iptables -I OUTPUT -j NETFLOW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment