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

Wireguard /etc/init.d/wg-quick OpenRC service not found in Alpine 3.20 nor after apk add wireguard-tools-wg-quick #44

Open
bignay2000 opened this issue Jun 11, 2024 · 0 comments

Comments

@bignay2000
Copy link

bignay2000 commented Jun 11, 2024

  1. Created a new Alpine 3.20 image using https://github.com/benpye/alpine-droplet repository which uses this as a sub repository via git modules to build a "Digital Ocean Custom Image" compatible image.

  2. Successfully built the image file

  3. Successfully launched the custom droplet in Digital Ocean.

  4. Validated cat /etc/alpine-release is the latest 3.20

  5. apk add wireguard-tools-wg-quick

  6. Successfully configured /etc/wireguard/wg0.conf

  7. Could not create the Wireguard "As OpenRC service" as per the official documentation https://wiki.alpinelinux.org/wiki/Configure_a_Wireguard_interface_(wg)#Install_required_packages as the "ln -s /etc/init.d/wg-quick /etc/init.d/wg-quick.wg0" step failed with file not found.
    image

  8. Manually downloaded wg-quick.initd from alpinelinux https://github.com/alpinelinux/aports/blob/6af974c9bdfd35516e30b06e2200c7aa6a13f849/main/wireguard-tools/wg-quick.initd. Renamed from wg-quick.initd to wg-quick and confirmed the permissions matched the other files in the /etc/init.d/ directory.

  9. Successfully completed the "As OpenRC service" procedure.

  10. Successfully transferred files with Wireguard.

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

No branches or pull requests

1 participant