Renting a Router Is a Bad Deal—OpenWrt Is How You Stop Paying for Locked Firmware
That box from your ISP is usually a Linux machine with the lid welded shut. Here is the practical case for OpenWrt, plus the compatibility checks and flashing routine that keep you from turning it into a paperweight.