You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Allow remote port forwarding for dev-environment #3257
There are use cases that may require remote port forwarding to the local machine. For example, developing/testing an SDK on a GPU machine that sends data to the collector running on a local machine.
Solution
Add remote_ports to YML and to CLI, similar to ports.
remote_ports:
- REMOTE_PORT:LOCAL_PORT
Workaround
Add RemoteForward to ~/.dstack/ssh/config after dstack apply and dstack attach.
e.g. RemoteForward 8082 localhost:8082
Would you like to help us implement this feature by sending a PR?
Activity
github-actions commentedon Dec 5, 2025
This issue is stale because it has been open for 30 days with no activity.
github-actions commentedon Dec 19, 2025
This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.