I have a basic confusion about how port forwarding works with DHCP assigned IP addresses.
If I set up port forwarding on a raspberry pi using its internal IP address and then set up dyndns so that the routers external IP address doesn't need to be known, if I unplug the pi for a while and reconnect it, will it be given a new IP with dhcp so that the port forwarding I just did no longer works?
If this is a problem can I set up port forwarding with a Mac address rather than device IP address?