30 policemen were killed by Taliban in an overnight attack in Afghanistan, said officials, according to news agency Associated Press.