mirror of
https://github.com/cbeuw/Cloak.git
synced 2026-04-25 20:45:59 +03:00
[GH-ISSUE #206] Wireguard + Cloak not connecting #166
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cloak#166
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Imfae on GitHub (Oct 29, 2022).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/206
Issue Description
I've set up Wireguard + Cloak on a Debian 11 cloud server (Vultr) and connected it to my Windows 10 machine. The vpn works occasionally, but most of the time, it doesn't, and the wireguard client logs uncompleted handshakes.
To Reproduce
Setup Wireguard + Cloak server/client following instructions here: https://www.oilandfish.com/posts/wireguard-cloak.html
Expected Behavior
Traffic successfully tunneled between pc and server and encrypted by Wireguard and obfuscated by Cloak.
Additional Information
Two events can be observed after activating Wireguard client,
Full log
Iptables log on port wireguard server is listening:
Output of
ck-client.exe -u -c ck-client.json -s XX.XX.XX.XX:Output of
systemctl status cloak:@Imfae commented on GitHub (Nov 3, 2022):
My analysis of network traffic when running Wireguard + Cloak so far shows a high possibility of packets sent from cloak client to server not reaching wireguard server or packets sent from cloak server to client not reaching wireguard client.
I'm not sure if this indicates packets corruption while wireguard traffic is routed through cloak, and I would very much appreciate a second opinion on the subject.
@gmertes commented on GitHub (Dec 5, 2022):
Try adding
MTU=1400to the wg interface config (or a lower value like 1300 if that still doesn't work). Use 1280 if you're on ipv6.@Imfae commented on GitHub (Dec 8, 2022):
I tried lowering MTU to 1300, and the connectivity issue persisted.
@stevepsunny commented on GitHub (Jan 24, 2026):
@Imfae Were you able to find the solution to this issue? I am facing a similar issue now.
@Imfae commented on GitHub (Feb 7, 2026):
Sorry for the late reply. No, I wasn't been able to solve it. I've switched to Shadowsocks + Cloak.