Help making HomeKit bridge/accessory connecting

HomeKit on my iPhone is not finding my HA HomeKit bridge or lock. Searching the web, it seems that I need to open the port for HASS Bridge:21064 and Garage:21065. My problem is I don’t know how to do this? Can someone help?

I’ve tried to find a way to open the .yaml files to see if I can add something, but I can’t find a way to edit the files, since I don’t have the “supervisor” and I don’t know what privileges I need to set to access the files directly.

My system is Raspberry PI with Home Assistant install with Portainer on Docker. It doesn’t come with “Supervisor” and I’ve read it’s recommended to add it.

Color me frustrated.

Opening port will not be enough

You must create macvlan network and recreate the HA container in portainer so HA is using that network instead of default “bridge” network.

Creating the network is a litlle technical but you can try this. Sorry i have not used that guide but it look correct. Recreating the HA container to use it is obvious once you see it I belive and explained in that guide as well

EDIT

I forget, you may use host networking which is much easier for you

Thanks for the help. I’ll check this out.