I have created a Windows Server 2025 Datacenter virtual machine on Google Cloud and configured it as an Active Directory Domain Controller.
I assigned both an internal and external static IP address to the VM.
I am trying to join a local Windows PC (located in my office, on an external network) to this domain, but I am experiencing issues during the domain join process, even after disabling Windows Firewall.
If I use a VPN solution like Tailscale, everything works correctly and the client PC can join the domain without any problems.
I would like to understand if there is a way to join a machine to the domain hosted on the VM directly from an external network, without using a VPN.
If your goal is to run Active Directory on a VM and access it from outside, the correct approach is not to expose it directly to the internet, but to place it behind a secure private network.