Tehran warned regional countries it would strike US military bases in case of an attack by Washington.