Print vertically with both mounting tabs located on the bottom.
Use bolts and nuts to fix on the barrel. If needed use some duct tape on the barrel to add friction.
The author remixed this model.
Original model was remade to fit NPO AEG's barrel diameter.