From c5e8e7eef6df79686d6cfdd5feced2ccb90d7668 Mon Sep 17 00:00:00 2001 From: Atif Ali Date: Tue, 15 Jul 2025 13:37:13 +0500 Subject: [PATCH 1/6] docs: mention Coder Desktop in port forwarding docs Notices it was missing from pthe ort forwarding docs which is kind of a big feature for Coder COnnect provides. --- .../workspace-access/port-forwarding.md | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/user-guides/workspace-access/port-forwarding.md b/docs/user-guides/workspace-access/port-forwarding.md index a12a27ed61537..d2f275358c489 100644 --- a/docs/user-guides/workspace-access/port-forwarding.md +++ b/docs/user-guides/workspace-access/port-forwarding.md @@ -6,17 +6,25 @@ Port forwarding lets developers securely access processes on their Coder workspace from a local machine. A common use case is testing web applications in a browser. -There are three ways to forward ports in Coder: +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. + +## Coder Desktop + +[Coder Desktop](../desktop/index.md) provides seamless access to your remote workspaces, eliminating the need to install a CLI or manually configure port forwarding. +Just install and access all your ports at `.coder:PORT`. ## The `coder port-forward` command @@ -62,7 +70,7 @@ where each segment of hostnames must not exceed 63 characters. If your app name, agent name, workspace name and username exceed 63 characters in the hostname, port forwarding via the dashboard will not work. -### From an coder_app resource +### From a coder_app resource One way to port forward is to configure a `coder_app` resource in the workspace's template. This approach shows a visual application icon in the From 9f835702e12b7e0dba28bd5f5acf21fd0d5d57e5 Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Tue, 15 Jul 2025 21:08:33 +0000 Subject: [PATCH 2/6] lists into table; access ports --- .../workspace-access/port-forwarding.md | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/docs/user-guides/workspace-access/port-forwarding.md b/docs/user-guides/workspace-access/port-forwarding.md index d2f275358c489..f462ff73bccfa 100644 --- a/docs/user-guides/workspace-access/port-forwarding.md +++ b/docs/user-guides/workspace-access/port-forwarding.md @@ -6,25 +6,17 @@ Port forwarding lets developers securely access processes on their Coder workspace from a local machine. A common use case is testing web applications in a browser. -There are multiple ways to forward ports in Coder: - -- [Coder Desktop](../desktop/index.md) -- The `coder port-forward` command -- Dashboard -- SSH - -The performance of these methods generally follows in the following order. - -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. +| Method | Details | +|:----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------| +| [Coder Desktop](../desktop/index.md) | Uses a VPN tunnel to your workspace and provides access to all running ports. | +| [`coder port-forward` command](#the-coder-port-forward-command) | Can be used to forward TCP or UDP ports from the remote workspace so they can be accessed locally. | +| [Dashboard](#dashboard) | Proxies traffic through the Coder control plane versus peer-to-peer which is possible with the Coder CLI and Coder Desktop. | +| [SSH](#ssh) | Double-encrypts traffic with both Wireguard and SSH. | ## Coder Desktop [Coder Desktop](../desktop/index.md) provides seamless access to your remote workspaces, eliminating the need to install a CLI or manually configure port forwarding. -Just install and access all your ports at `.coder:PORT`. +Access all your ports at `.coder:PORT`. ## The `coder port-forward` command From a3fe2dc717c03847bde3470b9f502bd5469d4a7f Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Tue, 15 Jul 2025 21:10:27 +0000 Subject: [PATCH 3/6] add intro line back --- docs/user-guides/workspace-access/port-forwarding.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user-guides/workspace-access/port-forwarding.md b/docs/user-guides/workspace-access/port-forwarding.md index f462ff73bccfa..ee2a100126c87 100644 --- a/docs/user-guides/workspace-access/port-forwarding.md +++ b/docs/user-guides/workspace-access/port-forwarding.md @@ -6,6 +6,8 @@ Port forwarding lets developers securely access processes on their Coder workspace from a local machine. A common use case is testing web applications in a browser. +There are multiple ways to forward ports in Coder: + | Method | Details | |:----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------| | [Coder Desktop](../desktop/index.md) | Uses a VPN tunnel to your workspace and provides access to all running ports. | From 202793d1c74d8e3825ded3228896b824bd8a83f4 Mon Sep 17 00:00:00 2001 From: Edward Angert Date: Tue, 15 Jul 2025 18:25:47 -0400 Subject: [PATCH 4/6] Update docs/user-guides/workspace-access/port-forwarding.md Co-authored-by: Atif Ali --- docs/user-guides/workspace-access/port-forwarding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guides/workspace-access/port-forwarding.md b/docs/user-guides/workspace-access/port-forwarding.md index ee2a100126c87..e9dc72ff3debe 100644 --- a/docs/user-guides/workspace-access/port-forwarding.md +++ b/docs/user-guides/workspace-access/port-forwarding.md @@ -13,7 +13,7 @@ There are multiple ways to forward ports in Coder: | [Coder Desktop](../desktop/index.md) | Uses a VPN tunnel to your workspace and provides access to all running ports. | | [`coder port-forward` command](#the-coder-port-forward-command) | Can be used to forward TCP or UDP ports from the remote workspace so they can be accessed locally. | | [Dashboard](#dashboard) | Proxies traffic through the Coder control plane versus peer-to-peer which is possible with the Coder CLI and Coder Desktop. | -| [SSH](#ssh) | Double-encrypts traffic with both Wireguard and SSH. | +| [SSH](#ssh) | Forwards ports over an SSH connection. | ## Coder Desktop From 79627eed9afb07fd49a5b6398b384013519db698 Mon Sep 17 00:00:00 2001 From: M Atif Ali Date: Wed, 16 Jul 2025 12:55:26 +0000 Subject: [PATCH 5/6] apply review suggestions --- docs/user-guides/workspace-access/port-forwarding.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/user-guides/workspace-access/port-forwarding.md b/docs/user-guides/workspace-access/port-forwarding.md index e9dc72ff3debe..f212eda8e5eee 100644 --- a/docs/user-guides/workspace-access/port-forwarding.md +++ b/docs/user-guides/workspace-access/port-forwarding.md @@ -8,12 +8,12 @@ a browser. There are multiple ways to forward ports in Coder: -| Method | Details | -|:----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------| -| [Coder Desktop](../desktop/index.md) | Uses a VPN tunnel to your workspace and provides access to all running ports. | -| [`coder port-forward` command](#the-coder-port-forward-command) | Can be used to forward TCP or UDP ports from the remote workspace so they can be accessed locally. | -| [Dashboard](#dashboard) | Proxies traffic through the Coder control plane versus peer-to-peer which is possible with the Coder CLI and Coder Desktop. | -| [SSH](#ssh) | Forwards ports over an SSH connection. | +| Method | Details | +|:----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [Coder Desktop](../desktop/index.md) | Uses a VPN tunnel to your workspaces and provides access to all running ports. Supports peer-to-peer connections for the best performance. | +| [`coder port-forward` command](#the-coder-port-forward-command) | Can be used to forward specific TCP or UDP ports from the remote workspace so they can be accessed locally. Supports peer-to-peer connections for the best performance. | +| [Dashboard](#dashboard) | Proxies traffic through the Coder control plane. | +| [SSH](#ssh) | Forwards ports over an SSH connection. | ## Coder Desktop From 2c20e7efde3357a2a89970e89a39adcdea32e896 Mon Sep 17 00:00:00 2001 From: Atif Ali Date: Thu, 17 Jul 2025 00:53:35 +0500 Subject: [PATCH 6/6] Update port-forwarding.md --- docs/user-guides/workspace-access/port-forwarding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guides/workspace-access/port-forwarding.md b/docs/user-guides/workspace-access/port-forwarding.md index f212eda8e5eee..3bcfb1e2b5196 100644 --- a/docs/user-guides/workspace-access/port-forwarding.md +++ b/docs/user-guides/workspace-access/port-forwarding.md @@ -10,7 +10,7 @@ There are multiple ways to forward ports in Coder: | Method | Details | |:----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| [Coder Desktop](../desktop/index.md) | Uses a VPN tunnel to your workspaces and provides access to all running ports. Supports peer-to-peer connections for the best performance. | +| [Coder Desktop](#coder-desktop) | Uses a VPN tunnel to your workspaces and provides access to all running ports. Supports peer-to-peer connections for the best performance. | | [`coder port-forward` command](#the-coder-port-forward-command) | Can be used to forward specific TCP or UDP ports from the remote workspace so they can be accessed locally. Supports peer-to-peer connections for the best performance. | | [Dashboard](#dashboard) | Proxies traffic through the Coder control plane. | | [SSH](#ssh) | Forwards ports over an SSH connection. | pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy