HA on server. How to connect vacuum with local IP

I have HA installed on server. I am trying to connect Xiaomi vacuum.

I aready:

  • aquired Vacuum Token.
  • set DynDNS to point domain to my appartament dynamic internet IP. So I have domain which points to my appartament updated IP.
  • set router NAT to point port 2222 to vacuum IP port (is this correct?)

I am editing configuration.yaml and put:

# vacuum:
#   - platform: xiaomi_miio
#     host: my.domain.com:2222
#     token: xxxxxxxxxxxxxxxxxxxx

I am trying to check configuration in HA but it spins green circle on and on.

I understand I cant connect to vacuum from internet - right?