virtualmin does not work from the Lan. Connected from my local network, I cannot access the website, Roundcube, Nextcloud. From the Wan I can access all this, and it works correctly. Any ideas?
This is almost certainly your router. Most consumer routers do not support routing back into the local network, even if they support port forwarding from the internet to the internal network. That’s a limitation out of our control.
One solution could be to use views in BIND, where hosts on your local network are given local addresses, while remote clients are given the public IP. Webmin support views in BIND (and Virtualmin does, too, to some degree), but you’ll need to set them up, and it can be a pain to handle the additional complexity. I try to avoid it, personally.
If your router has a local DNS server, you can fake views by adding the local names/IPs to it, instead. This is mostly how I’ve handled it for the handful of cases I’ve seen over the years, when the router supported it.
And, there may be an option to allow traffic to flow back and forth that is just disabled by default. That’s a question for your router documentation.
But, it’s not a problem Virtualmin can solve, as it’s not a problem in Virtualmin, it’s a problem in your router. Low-end routers are kinda crap at routing.