Enabling external connectivity to VMs