Advertisement
Guest User

Untitled

a guest
Mar 6th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. #!/bin/bash
  2. apt-get install iptables-persistent
  3. service iptables-persistent start
  4. apt-get install module-assistant
  5. m-a prepare
  6. apt-get install iptables-dev pkg-config
  7. ./configure
  8. make all install
  9. depmod
  10. echo ipt_NETFLOW destination=127.0.0.1:2055 >> /etc/modules
  11. iptables -I FORWARD -j NETFLOW
  12. iptables -I INPUT -j NETFLOW
  13. iptables -I OUTPUT -j NETFLOW
  14. iptables-save > /etc/iptables/rules.v4
  15. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement