dstack icon indicating copy to clipboard operation
dstack copied to clipboard

[Feature]: Support IAP tunneling when connecting to GCP VMs

Open colinjc opened this issue 8 months ago • 0 comments

Problem

To follow security best practices we need to lock down SSH access to GCP VMs to only IAP authorized users. To do this, we can limit the source range to the IAP range, but dstack doesn't use the IAP tunnel.

Solution

When connecting to a GCP VMs allow tunnelling through IAP. https://cloud.google.com/compute/docs/connect/ssh-using-iap#gcloud

Workaround

No response

Would you like to help us implement this feature by sending a PR?

No

colinjc avatar Apr 23 '25 14:04 colinjc