If you notice, all the rebel heroes kinda support each other:
Obi-wan-heals heroes and distracts turrets which gives enough time for infils to bomb them
Han uses stun on a turret- allows C3PO to capture it
Han stuns vehicle- chewie gets it- R2 repairs it