Iptables

From Igor personal wiki
Jump to: navigation, search

contracker

 87  sysctl net.netfilter.nf_conntrack_max
  88  lsmod | egrep 'ip_tables|conntrack'
  89  /sbin/lsmod | egrep 'ip_tables|conntrack'
  90  sysctl -l
  91  sysctl -a
  92  sysctl -a | grep conntrack
  93  sysctl -w net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 54000
  94  sysctl -w net.ipv4.netfilter.ip_conntrack_tcp_timeout_established  54000
  95  sysctl -w net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=54000
  96  sysctl -w net.ipv4.netfilter.ip_conntrack_generic_timeout=120
  97  sysctl -w net.ipv4.netfilter.ip_conntrack_max=30000
  98  sysctl net.netfilter.nf_conntrack_count
      wc -l /proc/net/ip_conntrack
      cat /proc/net/ip_conntrack