Bonum Certa Men Certa

IPTables

  • Linux 2.4 Packet Filtering HOWTO.
  • Linux Networking-concepts HOWTO.


  • iptables -N NOMS; # iptables -A NOMS -m limit --limit 1/s -i eth0 -j RETURN iptables -A NOMS -j REJECT

    . . .

    iptables -I INPUT -s 64.4.0.0/18 -j NOMS iptables -I INPUT -s 65.52.0.0/14 -j NOMS iptables -I INPUT -s 131.107.0.0/16 -j NOMS iptables -I INPUT -s 202.96.51.128/25 -j NOMS iptables -I INPUT -s 207.46.0.0/16 -j NOMS iptables -I INPUT -s 207.68.128.0/18 -j NOMS iptables -I INPUT -s 207.68.192.0/20 -j NOMS iptables -I INPUT -s 213.199.128.0/20 -j NOMS

    iptables -A INPUT -m iprange --src-range 64.41.128.0-64.41.255.255 -j NOMS iptables -A INPUT -m iprange --src-range 193.221.113.0-193.221.113.255 -j NOMS iptables -A INPUT -m iprange --src-range 204.95.96.0-204.95.111.255 -j NOMS iptables -A INPUT -m iprange --src-range 204.176.0.0-204.179.255.255 -j NOMS

    See Also

  • HTaccess