Created
June 21, 2020 01:26
-
-
Save deeso/0761688674dd4c47cdb5e290838dafc1 to your computer and use it in GitHub Desktop.
linux netflow agent install
This file contains hidden or 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
#!/bin/bash | |
export NETFLOW_COLLECTOR= | |
apt-get install -y module-assistant iptables-dev pkg-config snmpd libsnmp-dev | |
m-a prepare | |
git clone git://github.com/aabc/ipt-netflow.git ipt-netflow | |
cd ipt-netflow/ | |
./configure; make all install; depmod | |
insmod ipt_NETFLOW.ko destination=$NETFLOW_COLLECTOR:2055 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment