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

[Win] [WireGuard] interface failed to come 'up' possible resolution #268

Open
biggestsonicfan opened this issue Sep 16, 2024 · 0 comments
Open

Comments

@biggestsonicfan
Copy link

biggestsonicfan commented Sep 16, 2024

Greetings. I see a few issues here (not going to crosslink them all as some are ancient) have the following errors:

[warn] WireGuard interface failed to come 'up', exit code is '1'

I actually found the solution to my problem in similar issue completely different binhex repo here: binhex/arch-delugevpn#276 (comment)

Turns out, my docker is using WSL2, which I knew, but what I did know is that it was the "kernel isn't compiled with necessary netfilter targets or matches for iptables or nftables to work."

I followed the instructions here in my existing WSL2 distro and qbittorrent came up without a hiccup with Wireguard configured.

Hope this helps someone out there as I'm seeing a lot of problems when googling the issue, but very few solutions. Obviously if you're not using WSL2, this won't be of much help, however, cross-checking that your kernel has CONFIG_NETFILTER_XT_MATCH_CONNMARK still would not be a bad idea.

EDIT: You will also need to build and install modules to get rid of the following error:

 DEBG 'start-script' stderr output:
 modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/(kernelver)-microsoft-standard-WSL2+

EDIT2: To make the kernel from the image, you'll probably need to get the following dependencies: pacman -S git bc pahole

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