Here is how to do it with LuCI: https://simplebeian.wordpress.com/2014/03/12/accessing-your-modem-from-openwrt-router/