[GH-ISSUE #117] UDP OpenVPN doesn't work in 2.2.0 #99

Closed
opened 2026-02-26 12:33:58 +03:00 by kerem · 6 comments
Owner

Originally created by @Klaaktu on GitHub (May 30, 2020).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/117

Unable to connect after upgrading to 2.2.0. Cloak can establish session but OpenVPN can't connect, it connected once but still couldn't open any website.

Originally created by @Klaaktu on GitHub (May 30, 2020). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/117 Unable to connect after upgrading to 2.2.0. Cloak can establish session but OpenVPN can't connect, it connected once but still couldn't open any website.
kerem closed this issue 2026-02-26 12:33:58 +03:00
Author
Owner

@Klaaktu commented on GitHub (Jun 7, 2020):

UDP works with 5cbc248 ck-server + 2.2.0 ck-client. Switching ck-server from 2.2.0 to 5cbc248 made YT speed go from 20Mb (max, usually under 1000kb because of gfw throttling) to 30Mb (haven't tested whether it will get throttled but it was stable in the past).

<!-- gh-comment-id:640191293 --> @Klaaktu commented on GitHub (Jun 7, 2020): UDP works with 5cbc248 ck-server + 2.2.0 ck-client. Switching ck-server from 2.2.0 to 5cbc248 made YT speed go from 20Mb (max, usually under 1000kb because of gfw throttling) to 30Mb (haven't tested whether it will get throttled but it was stable in the past).
Author
Owner

@cbeuw commented on GitHub (Jun 7, 2020):

Should be fixed in github.com/cbeuw/Cloak@ff10cbf67b. It'd be great if you can test this. If it works fine I'll do a fix release

<!-- gh-comment-id:640201784 --> @cbeuw commented on GitHub (Jun 7, 2020): Should be fixed in https://github.com/cbeuw/Cloak/commit/ff10cbf67b8a62cf8d7b4401989f1e91745642e4. It'd be great if you can test this. If it works fine I'll do a fix release
Author
Owner

@Klaaktu commented on GitHub (Jun 7, 2020):

@cbeuw ty!
Using ck-client & ck-server built from master, OpenVPN in UDP mode can connect, tho I can't test the speed, gfw seems to be good at detecting VPN. It goes from 15Mb to 1000kb in a few seconds and the IP stays throttled even if I switch to Shadowsocks.
Shadowsocks + Cloak works very well (tested using another IP, same server), 30+Mb max as before.

<!-- gh-comment-id:640233892 --> @Klaaktu commented on GitHub (Jun 7, 2020): @cbeuw ty! Using ck-client & ck-server built from master, OpenVPN in UDP mode can connect, tho I can't test the speed, gfw seems to be good at detecting VPN. It goes from 15Mb to 1000kb in a few seconds and the IP stays throttled even if I switch to Shadowsocks. Shadowsocks + Cloak works very well (tested using another IP, same server), 30+Mb max as before.
Author
Owner

@cbeuw commented on GitHub (Jun 7, 2020):

@klaaktu Is GFW able to detect OpenVPN when Cloak is used in non-plaintext mode?

<!-- gh-comment-id:640234234 --> @cbeuw commented on GitHub (Jun 7, 2020): @klaaktu Is GFW able to detect OpenVPN when Cloak is used in non-plaintext mode?
Author
Owner

@Klaaktu commented on GitHub (Jun 7, 2020):

@cbeuw idk, it seems so but it could be anything...
I use OpenVPN in plain-text with Cloak in aes-gcm (for me vanilla OpenVPN doesn't work at all).
I ran OpenVPN using the second IP, now it also stays at 1000k.
I've had a bunch of problems with OpenVPN (tcp/udp) in the past which I attributed to GFW: It could be slow, or lossy, or unable to connect, or connected but unable to proxy anything, but then some days it was completely fine and speedy.
Those problems could appear after a period of use, or straight-up during sensitive periods. The more severe problems were much less likely to happen, usually it was just slow.

<!-- gh-comment-id:640238449 --> @Klaaktu commented on GitHub (Jun 7, 2020): @cbeuw idk, it seems so but it could be anything... I use OpenVPN in plain-text with Cloak in aes-gcm (for me vanilla OpenVPN doesn't work at all). I ran OpenVPN using the second IP, now it also stays at 1000k. I've had a bunch of problems with OpenVPN (tcp/udp) in the past which I attributed to GFW: It could be slow, or lossy, or unable to connect, or connected but unable to proxy anything, but then some days it was completely fine and speedy. Those problems could appear after a period of use, or straight-up during sensitive periods. The more severe problems were much less likely to happen, usually it was just slow.
Author
Owner

@Klaaktu commented on GitHub (Jun 8, 2020):

Tested OpenVPN + Cloak with YT again today. Both TCP and UDP mode have 20Mb+ speed.
In UDP mode, fast.com says 8Mb, speedtest.net shows the speed climbing from 5Mb to 20Mb before time ran out.

<!-- gh-comment-id:640513904 --> @Klaaktu commented on GitHub (Jun 8, 2020): Tested OpenVPN + Cloak with YT again today. Both TCP and UDP mode have 20Mb+ speed. In UDP mode, fast.com says 8Mb, speedtest.net shows the speed climbing from 5Mb to 20Mb before time ran out.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloak#99
No description provided.