Skip to content

Conversation

lzhou-lilly
Copy link

@lzhou-lilly lzhou-lilly commented Sep 3, 2025

We want to optionlly enable the GatewayPorts option in sshd.

To test: devcontainer features test --features sshd

Background:
Our development setup runs in Codespaces with Docker Compose. To handle TLS termination and spoof internal IPs, we use a reverse tunnel via gh cs ssh -- -R and proxys on workstations.

Without GatewayPorts, only the main container can access the tunnel—other containers can’t. Enabling GatewayPorts allows the tunnel to bind to the container’s public interfaces too, so other containers can use it. This is required for our transparent proxy setup.

@lzhou-lilly lzhou-lilly requested a review from a team as a code owner September 3, 2025 14:29
@lzhou-lilly
Copy link
Author

lzhou-lilly commented Sep 3, 2025

@microsoft-github-policy-service agree

This is a trivial work I initiated and completed on my own accord.

@lzhou-lilly lzhou-lilly changed the title Add GatewayPorts option to sshd [sshd] Add GatewayPorts option Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant