Skip to content
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

(Helper) Add new port-forward helper #3

Open
dfradehubs opened this issue Jul 17, 2024 · 0 comments
Open

(Helper) Add new port-forward helper #3

dfradehubs opened this issue Jul 17, 2024 · 0 comments

Comments

@dfradehubs
Copy link
Contributor

In order to open TCP connections to any port of the targets, we would like to have a helper called port-forward. This helper opens a TCP connection to the specified port and creates a tunnel/port-forward into a local port. For example:

bbb connect port-forward <target_id> <port>

or (if you want to specify the localPort where the service will be exposed)

bbb connect port-forward <target_id> <port> --local-port <localPort>

This command returns the port where the service is exposed in localhost, for example:

Created port-forward in localhost:<localPort>

Thanks a lot!

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

1 participant