During the Cold War, the Soviet Union was looking for transports. They needed these transports to support their numerous airborne divisions. By the Cold War's end, the Soviets had six airborne divisions but historically, they had as many as 15 active airborne divisions, which makes for a lot to move.
They also had the same need for tactical airlift to supply personnel. While the United States met that need with the C-130 Hercules, the Soviets turned to the Antonov design bureau to address their needs. The plane that emerged was the An-12, nicknamed the "Cub" by NATO.
An ex-military An-12. Note the tail gun position - minus the two 23mm cannons. (Photo from Wikimedia Commons)
According to MilitaryFactory.com, the An-12 can reach a speed of 480 miles per hour and has a maximum range of 3,540 miles. It can carry up to 60 paratroopers or two BMD airborne armored fighting vehicles. It was in production for sixteen years and 1,248 airframes were produced.
What distinguishes the Soviet-designed plane from the C-130 is that some variations of the An-12 sport a twin 23mm turret. The other big difference is the accident rate. Aviation-Safety.net reports that of the 1,248 Cubs produced, 232 have been lost in accidents. By comparison, that same site notes that 353 C-130-type transports (including the civilian-model L-100) have been lost in accidents out of the more than 2,500 airframes.
A baseline Y-8 with the People's Liberation Army Air Force. (Photo from Wikimedia Commons)
China also has a version of the Cub known as the Y-8, a pirated design that was reverse-engineered after the Sino-Soviet split in the last 1960s. According to FlightGlobal.com, China has over 100 Y-8s in service, including airborne early-warning, maritime reconnaissance, and electronic-warfare variants. China also has the Y-9, a stretched version, with seven airframes in service.
You can see a video about this Russian ripoff of the Hercules below. That said, if you need a tactical transport, an An-12 "Cub" is not the way to go. Just buy a real C-130.