Firewall and routers

If the inbound firewall such as the NAV2008 one is configured , but the Router’s firewall is set up to allow no inbound connection. Then the router firewall takes priority, right?