Can't access server from outside LAN using just public network

I’m using just config.vm.network “public_network” on a Debian 12 host and guest. Ports are forwarded on router.