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

Suggestion: Add notes for Rust Userspace version #29

Open
chrisballinger opened this issue Oct 5, 2019 · 1 comment
Open

Suggestion: Add notes for Rust Userspace version #29

chrisballinger opened this issue Oct 5, 2019 · 1 comment

Comments

@chrisballinger
Copy link

I had a lot of trouble trying to use the kernel module because the headers didn't match, or some other issue related to loading the module. Seems like a number of other people are having issues on the RPi 4 with 4.19.75-v7l+.

Instead I worked around the issue by installing boringtun, which presumably isn't as performant, but gives me much less frustration.

Here's a snippet of what I had to do to get it to work:

$ cargo install boringtun
$ sudo cp `which boringtun` /usr/bin/boringtun


$ sudo cp /lib/systemd/system/[email protected] /lib/systemd/system/[email protected]
$ sudo nano /lib/systemd/system/[email protected]

# Replace Environment line
Environment=WG_ENDPOINT_RESOLUTION_RETRIES=infinity WG_QUICK_USERSPACE_IMPLEMENTATION=/usr/bin/boringtun WG_SUDO=1

$ sudo systemctl daemon-reload
$ sudo systemctl enable wg-quick-boringtun@wg0  
$ sudo systemctl start wg-quick-boringtun@wg0
@H8to
Copy link

H8to commented Dec 5, 2020

This is great!
Thank you for sharing :)

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

2 participants