Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- apt-get install iptables-persistent
- service iptables-persistent start
- apt-get install module-assistant
- m-a prepare
- apt-get install iptables-dev pkg-config
- ./configure
- make all install
- depmod
- echo ipt_NETFLOW destination=127.0.0.1:2055 >> /etc/modules
- iptables -I FORWARD -j NETFLOW
- iptables -I INPUT -j NETFLOW
- iptables -I OUTPUT -j NETFLOW
- iptables-save > /etc/iptables/rules.v4
- reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement