From 7eda9a337bcf91c0fb6af8cb06c09d1a9903f91d Mon Sep 17 00:00:00 2001 From: Mark Milligan Date: Wed, 22 Nov 2023 01:45:07 +0000 Subject: [PATCH 1/2] chore: correct disabling direct and STUN; add vs code remote required URLs --- docs/install/offline.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/install/offline.md b/docs/install/offline.md index e9fe821f8dbce..ef5f7b4e84685 100644 --- a/docs/install/offline.md +++ b/docs/install/offline.md @@ -165,7 +165,8 @@ services: # ... environment: CODER_TELEMETRY_ENABLE: "false" # Disable telemetry - CODER_DERP_SERVER_STUN_ADDRESSES: "" # Only use relayed connections + CODER_BLOCK_DIRECT: "true" # force SSH traffic through control plane's DERP proxy + CODER_DERP_SERVER_STUN_ADDRESSES: "disable" # Only use relayed connections CODER_UPDATE_CHECK: "false" # Disable automatic update checks database: image: registry.example.com/postgres:13 @@ -197,9 +198,12 @@ coder: # Disable automatic update checks - name: "CODER_UPDATE_CHECK" value: "false" + # force SSH traffic through control plane's DERP proxy + - name: CODER_BLOCK_DIRECT + value: "true" # Only use relayed connections - name: "CODER_DERP_SERVER_STUN_ADDRESSES" - value: "" + value: "disable" # You must set up an external PostgreSQL database - name: "CODER_PG_CONNECTION_URL" value: "" @@ -236,3 +240,19 @@ Coder is installed. - open-vsx.org (optional if someone would use code-server) - registry.terraform.io (to create and push template) - v2-licensor.coder.com (developing Coder in Coder) + +## JetBrains IDEs + +Gateway, JetBrains' remote development product that works with Coder, +[has documented offline deployment steps.](../ides/gateway.md#jetbrains-gateway-in-an-offline-environment) + +## Microsoft VS Code Remote - SSH + +Installation of the +[Visual Studio Code Remote - SSH extension](https://code.visualstudio.com/docs/remote/ssh) +(for connecting a local VS Code to a remote Coder workspace) requires that your +local machine has outbound HTTPS (port 443) connectivity to: + +- update.code.visualstudio.com +- vscode.blob.core.windows.net +- \*.vo.msecnd.net From cc3f853b5da9c8ac9691aa11fef5ae9743e6d533 Mon Sep 17 00:00:00 2001 From: Mark Milligan Date: Wed, 22 Nov 2023 03:28:10 +0000 Subject: [PATCH 2/2] chore: offline docs --- docs/install/offline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/offline.md b/docs/install/offline.md index ef5f7b4e84685..4b168f2cd7cd0 100644 --- a/docs/install/offline.md +++ b/docs/install/offline.md @@ -198,7 +198,7 @@ coder: # Disable automatic update checks - name: "CODER_UPDATE_CHECK" value: "false" - # force SSH traffic through control plane's DERP proxy + # force SSH traffic through control plane's DERP proxy - name: CODER_BLOCK_DIRECT value: "true" # Only use relayed connections