-
-
Notifications
You must be signed in to change notification settings - Fork 535
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 Clients stopped connecting since last docker update #513
Comments
Same problem with our installation. docker Log: edit: with tag 0.5.2 it’s running again, will stay there until update.
|
I have just tested the latest image built from commit 45849a2. It works fine for me. @karbrueggen1 do you have |
What does the Pre Down Script do? Btw i'm running all of this in portainer, i've checked logs in both wireguard and wireguard ui and nothing out of the ordinary has popped up. I've updated my PATH but still no further forward Not sure what else to check |
Ah just checked and i have this error... [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE |
Ok i reverted the PATH to the original on Wireguard UI and changed the PATH on the Wireguard Server to include the mentioned iptables directory and i'm getting no errors in my logs so thats a plus but when my clients connect im still getting 0 RX and multiple bytes in the TX and the clients are issued an ip address but theres no full communication and i cannot access resources on my network |
It do nothing if you leave it empty. It's my PR #480 The problem in something else a lot of commits was added last 2 weeks.. |
Ah gotcha ok so nothing to worry about there. I've noticed some people seemed to have reverted back to a previous version of wire guard and wire guard ui as a work around. Is this a true work around? Cheers |
Huzzah!!! Work around reverted back to wireguard UI version 0.5.2. This version seems to work better than the latest. Not sure whats changed. but it seems to be a bug. I'll keep running this version until its fixed. Thank you all for you time and happy new year Cheers |
can confirm I had exacttly the same issue. Reverting to the previous image fixed things again |
Same problem. PATH is set correctly but somehow iptables is not found. I played around a bit and it seems that the container is nearly ignoring PATH. |
Hello @ngoduykhanh The problem is that you need to have the iptables within the image. Please change the Dockerfile: change line: to: This should do the trick. Apparently, the latest alpine does not have the iptables within; or it was build before with those, but not anymore. |
confirmed as the solution. alpine 3.19 lacks iptables, while 3.16 includes it. |
Thanks guys, I added iptables package in PR #520. Please try the latest image again if it still has an issue with missing iptables |
tested and solved |
Hi
I had client connecting to my docker wireguard server just fine until recently. I looked at the server settings and noticed a "Pre Down Script" field that was never there before. Do i need to put anything in there? If so do i need to recreate my client connections?
I know all my ports are forwarded just fine but for the life of me i cant figure out why my clients wont communicate properly. Heres a rundown of what happens when a client connects, it shows 0 RX packets transmitted but there is a flow of TX packets so it looks like it is connecting or trying to connect but not communicating properly. If anyone can help that would be great. Cheers.
The text was updated successfully, but these errors were encountered: