The US on Wednesday warned Iranians that it considers civilian ports in the Strait of Hormuz to be legitimate targets, alleging the Tehran government was using the facilities for military operations.