HA behind Mikrotik RouterOS

Hi there.
It would be helpful if you describe in more details what particular issue you try to solve.
I suppose that you can start with this explanation http://wiki.mikrotik.com/wiki/Hairpin_NAT if you want to use your dns name within local network.
You will need the rule like (for 192.168.192.0/24 network) :
add action=masquerade chain=srcnat comment=
“HairPin solution to access Raspberry HASS from LAN.” dst-address=
192.168.192.HASS dst-port=8123 out-interface=ether2-master protocol=tcp
src-address=192.168.192.0/24
Otherwise use local ip address in url to your HA. But in this case you will run into the error message about wrong ssl certificate. Just save security rules exception for the HA.