DD-WRT is published under a General Public License that allows you to run, share, and modify DD-WRT for free.