[GH-ISSUE #238] Use the same keys in differents servers #193

Open
opened 2026-02-26 12:34:14 +03:00 by kerem · 4 comments
Owner

Originally created by @Chemyto on GitHub (Nov 17, 2023).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/238

I am using cloak+openvpn as a client on a router with openwrt. I have two servers, would it be possible to use the same keys and uid?. That way, I wouldn't have to reload the cloak config on openwrt, just the openvpn configuration file. Great job

Originally created by @Chemyto on GitHub (Nov 17, 2023). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/238 I am using cloak+openvpn as a client on a router with openwrt. I have two servers, would it be possible to use the same keys and uid?. That way, I wouldn't have to reload the cloak config on openwrt, just the openvpn configuration file. Great job
Author
Owner

@cbeuw commented on GitHub (Nov 17, 2023):

So long as both servers are kept secure, this is fine

<!-- gh-comment-id:1817228117 --> @cbeuw commented on GitHub (Nov 17, 2023): So long as both servers are kept secure, this is fine
Author
Owner

@Chemyto commented on GitHub (Nov 17, 2023):

I tried, but it doesn't work

<!-- gh-comment-id:1817229063 --> @Chemyto commented on GitHub (Nov 17, 2023): I tried, but it doesn't work
Author
Owner

@cbeuw commented on GitHub (Nov 17, 2023):

Ah sorry I misunderstood what you meant. You need to specify which server Cloak client connects to and there can only be one at a time. One Cloak client cannot connect to two servers simultaneously.

However you can run two Cloak client instances at the same time listening on different ports, then you can switch OpenVPN config to connect to different clients.

<!-- gh-comment-id:1817234264 --> @cbeuw commented on GitHub (Nov 17, 2023): Ah sorry I misunderstood what you meant. You need to specify which server Cloak client connects to and there can only be one at a time. One Cloak client cannot connect to two servers simultaneously. However you can run two Cloak client instances at the same time listening on different ports, then you can switch OpenVPN config to connect to different clients.
Author
Owner

@Chemyto commented on GitHub (Nov 17, 2023):

Ok, thank you. I am currently using it from China and it has been working perfectly for days.

<!-- gh-comment-id:1817239031 --> @Chemyto commented on GitHub (Nov 17, 2023): Ok, thank you. I am currently using it from China and it has been working perfectly for days.
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#193
No description provided.