Skip to content

(Helper) Add new port-forward helper #3

@dfradehubs

Description

@dfradehubs

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions