IPTABLE script de blocage par pays !!!

#!/bin/bash ### Block all traffic from AFGHANISTAN (af) and CHINA (CN). Use ISO code ### ISO=”af cn” ### Set PATH ### IPT=/sbin/iptables WGET=/usr/bin/wget EGREP=/bin/egrep ### No editing below ### SPAMLIST=”countrydrop” ZONEROOT=”/root/iptables” DLROOT=”http://www.ipdeny.com/ipblocks/data/countries” cleanOldRules(){ $IPT -F $IPT -X $IPT -t nat -F $IPT -t nat -X $IPT -t mangle -F $IPT -t mangle -X $IPT -P […]