The product of the finite groups with their discrete topology is a topological group under coordinatewise multiplication and inversion. The compatibility equations defining are preserved by both operations, so is a subgroup. Their restrictions to the subspace topology on are continuous. Hence with its standard inverse-limit topology is a topological group.