Closed nickvin closed 2 weeks ago
I ran into this, and fixed it with the suggestion here https://github.com/linuxserver/docker-wireguard/issues/42#issuecomment-888930759 (a specific comment from the link you referenced).
Essentially it's complaining about 0.0.0.0/0.
Still haven't fully gotten WireGuard to work (running into other problems) but hopefully this is still helpful.
AllowedIPs
is being overwritten on container start to AllowedIPs = 0.0.0.0/0
so changing that setting has no effect 🤔
It sounds like you might be using PIA. If you're okay with losing port forwarding, you can generate the file, edit it to AllowedIPs = 0.0.0.0/1, 128.0.0.0/1
and change VPN_PROV
to custom
. Upon restart it shouldn't overwrite the change (at least it didn't for me).
@KosherBacon Have you completed your wireguard setup on qnap?
Everything seems connected on my side. But I dont seem to have access to anything..
no VPN, no ping to any IPs etc.
Completely blocked.
wg show
does not display latest handshake
info :(
[root@c5826c6b934f /]# wg show
interface: wg0
public key: QvxxxxxxxxxxxxxxxxxxxxxxzgCicGXjWR4=
private key: (hidden)
listening port: 46906
peer: UrQiI9ISdPPzd4ARw1NHOPKKvKvxUhjwRjaI0JpJFgM=
endpoint: 193.32.249.66:51820
allowed ips: 0.0.0.0/1, 128.0.0.0/1
transfer: 0 B received, 16.19 KiB sent
btw, the same wg0.conf works in the QNAP host (not inside docker)
any idea?
@KosherBacon sorry for the slow reply! Thank you for the suggestion, but I'm using Mullvad not PIA so already had AllowedIPs=0.0.0.0/1, 128.0.0.0/1
and VPN_PROV=custom
. It's interesting that yours isn't getting overwritten 🤔
@ahurtaud I have unfortunately not gotten it to work.
WireGuard will "start" but won't complete a handshake. I just see RX as 0 bytes indefinitely, same as you.
@ahurtaud I have unfortunately not gotten it to work.
WireGuard will "start" but won't complete a handshake. I just see RX as 0 bytes indefinitely, same as you.
ok thanks for the info, on my side I left the binhex image and went to the native qbittorent with bind network interface on the host.. :/
Found the following container that has an implementation of WireGuard Go, which apparently solves the problem of running it on a NAS (QNAP, Synology, etc): https://hotio.dev/containers/qbittorrent/
Unfortunately, it doesn't seem to have any port forwarding capabilities.
Having an issue on QNAP TS-451+ FW:5.0.0.1986 trying to run the container with Wireguard. Openvpn works fine.
Not sure if this problem is related, but a similar issue was raised for the linuxserver/docker-wireguard container: https://github.com/linuxserver/docker-wireguard/issues/42
I'm running the following docker-compose, but tried many iterations without any success: