The Mikrotik configuration example https://gist.github.com/kaihendry/cb0... that works WITHOUT knowing your WAN/Internet address.
Bonus: Mikrotik has a lot of features including an API with can be used to export to Prometheus for monitoring https://github.com/nshttpd/mikrotik-e...