But glad it helped. Although I also noticed that you would need to re-ping your desktop after sometime to keep the GUI working
Nice security feature huh? lol
But as you also tried it in docker directly with the same result it won't be portainers fault.
Anyway I'm happy you found a temporary solution as this was driving me nuts.
I recreated my macvlan network in every possible way, also tried to ping the container just not the other way around
So I was just ready to reinstall omv, as I thought maybe first have a look in the forums....