This means a checkpoint you must pass through. Whether it be in the United States, Mexico or another country. Customs is the place at a port, airport, or frontier where officials check incoming goods, travelers, or luggage.
Pasar por la aduana = to go through customs.