Matt Clifford put Bedford ahead after just 6 minutes, but within 30 minutes, Ware had equalised and gone in front. The game was all square going into the break after Kyal McNulty's 44th minute penalty.
The winning goal from Bedford came with 11 minutes left, and Josh Beech, back in a Bedford shirt, provided the vital strike.