You shouldn't just leave it on its side as there are vent holes which will get blocked.

That router should come with a rackmount kit. Get some L brackets, put those onto the wall, hang the router by the rackmount ears off the brackets and screw or bolt it in. That'd be the cheapest option and not risk damaging the router.