-
Notifications
You must be signed in to change notification settings - Fork 948
docs: update port forwarding docs to include Coder Desktop #18870
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
Conversation
Notices it was missing from pthe ort forwarding docs which is kind of a big feature for Coder COnnect provides.
There are multiple ways to forward ports in Coder: | ||
|
||
- [Coder Desktop](../desktop/index.md) | ||
- The `coder port-forward` command | ||
- Dashboard | ||
- SSH | ||
|
||
The `coder port-forward` command is generally more performant than: | ||
The performance of these methods generally follows in the following order. | ||
|
||
1. The Dashboard which proxies traffic through the Coder control plane versus | ||
peer-to-peer which is possible with the Coder CLI | ||
1. `sshd` which does double encryption of traffic with both Wireguard and SSH | ||
1. Coder Desktop: as it uses a VPN tunnel to your workspace and provides access to all running ports. | ||
1. The `coder port-forward` command. | ||
1. The Dashboard, which proxies traffic through the Coder control plane versus | ||
peer-to-pee,r which is possible with the Coder CLI and Coder Desktop. | ||
1. `ssh`, which does double encryption of traffic with both Wireguard and SSH. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matifali what do you think of a table here instead?
maybe something like this (and we can link more from the Method
column):
Method | Details |
---|---|
Coder Desktop | Uses a VPN tunnel to your workspace and provides access to all running ports. |
The coder port-forward command |
(details) |
Dashboard | Proxies traffic through the Coder control plane versus peer-to-peer which is possible with the Coder CLI and Coder Desktop. |
SSH | Double-encrypts traffic with both Wireguard and SSH. |
GitHub won't let me suggest on this block of lines, but if it works, I can push a commit with it - I just need something for coder port-forward
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks ❤️ . feel free to push to the PR branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pushed in 9f83570
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
someone should double-check my changes + approving so that I'm not blocking if they're ok
Co-authored-by: Atif Ali <atif@coder.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine from a technical perspective
Noticed that Coder Desktop was missing from port-forwarding docs which is kind of a big feature for Coder Connect.
preview