Created
August 27, 2018 09:17
-
-
Save fnzv/29c94d9b0bc25601a54b22c532a22fe6 to your computer and use it in GitHub Desktop.
Install Netflow module Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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