Handle TCP connections in a single command invocation
Open
@desimone is already working on this.
Since Dec 5, 2022.
NeedsDecision
NeedsMoreData
WaitingForInfo
- Dominant language
- Go
- Stars
- 13
- Forks
- 9
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 7
Description
It'd be nice to have a single instance of pomerium-cli that could handle multiple TCP connections at a time.
For example, if you have an internal development server with services on a few different ports (database, SSH, etc.), it’d be handy to give users a single command they can run to open those ports all at once, and CTRL+C when they’re done.
pomerium-cli tcp host1.internal.example.com:22 --listen :2022 \
host1.internal.example.com:5432 --listen :55432 \
host2.internal.example.com:12345 --listen :12345
As a single process, theoretically it could even cache authentication across the services so the user would only need to authenticate once.
As it stands now, my options are:
- document individual commands to run for individual ports
- or, create a script that launches a few instances of pomerium-cli in the background, which will look confusing and make it harder for users to shut them all down.
- or, prepare some connections in Pomerium Desktop (I understand there's an export/import process) and guide users through importing that.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.