Skip to content

Feature: Dynamic port forwarding allow+deny list #332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gtaylor opened this issue Jul 30, 2024 · 1 comment
Open

Feature: Dynamic port forwarding allow+deny list #332

gtaylor opened this issue Jul 30, 2024 · 1 comment

Comments

@gtaylor
Copy link

gtaylor commented Jul 30, 2024

I posted a feature request for an allow+deny list for port forwarding on the jetbrains-backend-coder repo, but this also applies to the VS Code case. Cross-posting the issue here so we can separately track these for both IDEs:

Here is the JB version of the issue: coder/jetbrains-backend-coder#38

@coder-labeler coder-labeler bot added the good first issue Good for newcomers label Jul 30, 2024
@code-asher code-asher added enhancement and removed good first issue Good for newcomers labels Jul 30, 2024
@aaronlehmann
Copy link
Contributor

Note that this can be done without explicit support in the Coder extension: the remote.portAttributes and remote.otherPortAttributes VS Code settings can be set through ~/.vscode-server/data/Machine/settings.json on the workspace.

If this is being driven by devcontainer.json, it's sufficient to copy portAttributes from devcontainer.json to remote.portAttributes in settings.json (and so on for otherPortAttributes), since the devcontainer.json schema for these matches VS Code's settings schema.

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

No branches or pull requests

4 participants