Abount homeassistant in a kvm/qemu virtual machine

i’m practicing linux, at the moment i’m studing how to use cockip and virtual machines…

so i installed the haos qcow2 vm… ok

i have i question reguarding libvirt network mode.

if i use an “open” virtual network form my vm i can access home assistant web server and samba share addon via file manager from the host as expected.

if i use “nat” mode i can still access the web server but the samba share in inaccessible.

wasn’t supposed nat mode to block all incoming requests?! does ha have any particular settings?!

i have spent day searching with no success… hoping someone can give me a solution.

thanks