I'm going to assume that you've set your HM up as a DHCP/dynamic address. In your DHCP server (probably your firewall/router,) you need to create a permanent lease for your HM's MAC address. That'll give it the same address every time it requests a lease or a renewal. This address and the port forwarding address need to match.