Skip to content

Build a Windows Service that implements CoderVPN #2

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

Closed
spikecurtis opened this issue Sep 19, 2024 · 1 comment · Fixed by #14
Closed

Build a Windows Service that implements CoderVPN #2

spikecurtis opened this issue Sep 19, 2024 · 1 comment · Fixed by #14
Assignees
Labels
enhancement New feature or request

Comments

@spikecurtis
Copy link
Collaborator

spikecurtis commented Sep 19, 2024

Create a native Windows Service that auto-starts with Windows and creates a named pipe to accept connections from the user application.

Image

On connection, it uses the CoderVPN protocol (#3) to communicate with the user application. When the user application starts the VPN, it uses the provided credentials to connect to the Coder deployment, download the Coder binary, create a pair of communication pipes, then fork/exec to start the coder daemon process (coder/coder#14735).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@spikecurtis @deansheather and others