Hi everyone.
I forwarded some ports through UPNP, and I want to make them not disappear when router reboot, but I find no “make static” button (just like DNS server lease can), then I try to reproduce the same rule manually so it will not mark as dynamic, but then I find a bigger problem:
The created UPNP rule have a fixed “Dst. address”, which is the same as the WAN IP, but it will not change automatically when the WAN IP changes, so when the WAN IP do change, the previously UPNP forwarded port will no longer work.
I remember there’s a function in the even the cheapest consumer router usually called “port forwarding”,“virtual server” or something, it will keep forwarding the set ports no matter the WAN IP change or router power cycle, how can I do this on Mikrotik?
Thank you!
I find the solution myself!
Just create a rule manually, all parameter as the same as the previous UPNP rule, except fill the “dst. address” as “!192.168.0.0/16”, instead of the WAN address, it works!
Dnat is also a solution for port forwarding
This solution is limited to the internal network has only one client device
Nope, you define which client to forward in the “To address” field, just like the auto-generated UPNP rules.
I mean, if there are multiple network clients have upnp demand, dst.port the changes, restart the port after the client request (dst.port) will change, how to achieve it?