{"slug":"access-your-tailnet-from-code-server","title":"Access your tailnet from code-server","tags":["tailscale","access-control"],"agent_summary":"Last validated: Sep 18, 2025","trigger_phrases":[],"runnable":false,"markdown":"\r\n# Access your tailnet from code-server\r\n\r\nLast validated: Sep 18, 2025\r\n\r\n[code-server](https://github.com/cdr/code-server) is a way to run Visual Studio Code anywhere and access it in through a browser.\r\n\r\nTailscale can be installed within a code-server VM to be able to access private resources securely,\r\nsuch as databases or continuous integration nodes or servers in the dev/test environment.\r\n\r\n## [Integration](https://tailscale.com/docs/integrations/codeserver\\#integration)\r\n\r\ncode-server is installed within a VM with [instructions for a number of hosting providers](https://github.com/cdr/code-server/blob/main/docs/install.md).\r\n\r\nTailscale can be [installed in VMs](https://tailscale.com/docs/install/linux)\r\nfor many common hosting providers like\r\n[AWS](https://tailscale.com/docs/install/cloud/aws),\r\n[Azure](https://tailscale.com/docs/install/cloud/azure/linux),\r\n[Google Cloud](https://tailscale.com/docs/install/cloud/gce), and\r\n[Hetzner](https://tailscale.com/docs/install/cloud/hetzner).\r\n\r\n## [Authorization](https://tailscale.com/docs/integrations/codeserver\\#authorization)\r\n\r\nThe VM will need to be authorized to join the tailnet using either a browser to log in,\r\nor a [one-time auth key](https://tailscale.com/docs/features/access-control/auth-keys).\r\n\r\n![Project Logo](https://cdn.brandfetch.io/tailscale.com/fallback/lettermark/theme/dark/h/256/w/256/icon?c=1bfwsmEH20zzEfSNTed)\r\n\r\nAsk AI\r\n\r\nreCAPTCHA\r\n\r\nRecaptcha requires verification.\r\n\r\nprotected by **reCAPTCHA**\r\n","html":"<h1>Access your tailnet from code-server</h1>\n<p>Last validated: Sep 18, 2025</p>\n<p><a href=\"https://github.com/cdr/code-server\">code-server</a> is a way to run Visual Studio Code anywhere and access it in through a browser.</p>\n<p>Tailscale can be installed within a code-server VM to be able to access private resources securely,\r\nsuch as databases or continuous integration nodes or servers in the dev/test environment.</p>\n<h2><a href=\"https://tailscale.com/docs/integrations/codeserver#integration\">Integration</a></h2>\n<p>code-server is installed within a VM with <a href=\"https://github.com/cdr/code-server/blob/main/docs/install.md\">instructions for a number of hosting providers</a>.</p>\n<p>Tailscale can be <a href=\"https://tailscale.com/docs/install/linux\">installed in VMs</a>\r\nfor many common hosting providers like\r\n<a href=\"https://tailscale.com/docs/install/cloud/aws\">AWS</a>,\r\n<a href=\"https://tailscale.com/docs/install/cloud/azure/linux\">Azure</a>,\r\n<a href=\"https://tailscale.com/docs/install/cloud/gce\">Google Cloud</a>, and\r\n<a href=\"https://tailscale.com/docs/install/cloud/hetzner\">Hetzner</a>.</p>\n<h2><a href=\"https://tailscale.com/docs/integrations/codeserver#authorization\">Authorization</a></h2>\n<p>The VM will need to be authorized to join the tailnet using either a browser to log in,\r\nor a <a href=\"https://tailscale.com/docs/features/access-control/auth-keys\">one-time auth key</a>.</p>\n<p><img src=\"https://cdn.brandfetch.io/tailscale.com/fallback/lettermark/theme/dark/h/256/w/256/icon?c=1bfwsmEH20zzEfSNTed\" alt=\"Project Logo\"></p>\n<p>Ask AI</p>\n<p>reCAPTCHA</p>\n<p>Recaptcha requires verification.</p>\n<p>protected by <strong>reCAPTCHA</strong></p>\n"}