You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bisco 22c3c138ec
template_iptables.sh: added rules to block countries netblocks via ipset
4 years ago
README.md added some info into README.md file 5 years ago
block_range.sh block_range.sh: removed wget's output; added '-exist' option to ipset command to ignore errors when same set already exists 4 years ago
template_iptables.sh template_iptables.sh: added rules to block countries netblocks via ipset 4 years ago

README.md

iptables-scripts

This repository contains various iptables scripts used on various servers.

  • template_iptables.sh: it is a skeleton for iptables scripts
  • block_range.sh: it downloads foreign ip ranges (from China, India and some other contries) and block it via ipset+iptables