Skip to content
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

Userspace WireGuard-go in Gateway Docker Image #136

Open
drag0n141 opened this issue Nov 15, 2024 · 3 comments
Open

Userspace WireGuard-go in Gateway Docker Image #136

drag0n141 opened this issue Nov 15, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@drag0n141
Copy link

Hi,

i want to use DEFGUARD_USERSPACE=true in the docker container. But it does not work, the wireguard-go package is missing. I am using the latest container.

[2024-11-15T19:18:45Z ERROR defguard_wireguard_rs::wgapi_userspace] Failed to create userspace API. wireguard-go executable not found in PATH. Error: No such file or directory (os error 2)
Error: WireguardError(ExecutableNotFound("wireguard-go"))
@teon
Copy link
Contributor

teon commented Nov 15, 2024

@drag0n141 yes - official docker images are ment for Linux distributions which have WireGuard in Kernel, thus we don't include the wireguard-go in the docker image.
What would be the case for such a use case?

@drag0n141
Copy link
Author

I am want to run the gateway in my kubernetes cluster. For that I need the userspace mode.

@teon
Copy link
Contributor

teon commented Nov 17, 2024

@drag0n141 oh.. ok! I will add this feature to the backlog.

@teon teon added the enhancement New feature or request label Nov 17, 2024
@teon teon moved this to Refined & Ready in Backlog & Roadmap Nov 20, 2024
@teon teon changed the title Userspace in Docker Userspace WireGuard-go in Gateway Docker Image Dec 3, 2024
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
Status: Refined & Ready
Development

No branches or pull requests

2 participants