The router needs to be configured according to the modem's config, i.e. the router needs to "see" the web through the modem. You need to access the router's admin settings and configure it. You can get the settings from the modem to make sure the router is configured properly.