There are two Customs offices near the main entrance gates to the secured port facility. You want the office WITHOUT a sign. Go over the railroad tracks and turn left at the next street. Within 100 meters you will find a security post. The Customs office is located there.
Opening hours: 06:00-22:00 daily.